0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00

update mocha to 2.2.3+, + options file

This commit is contained in:
Alex Kocharin 2015-04-07 22:51:05 +03:00
parent a55dc65775
commit 3e9932d866
2 changed files with 6 additions and 4 deletions

View file

@ -56,8 +56,7 @@ devDependencies:
#
rimraf: '>=2.2.5 <3.0.0-0'
# https://github.com/mochajs/mocha/issues/1614
mocha: '<= 1.20'
mocha: '2 >=2.2.3'
#
# Linting tools
@ -95,9 +94,9 @@ keywords:
- server
scripts:
test: eslint --reset . && mocha -R dot ./test/functional ./test/unit
test: eslint --reset . && mocha ./test/functional ./test/unit
test-travis: eslint --reset . && mocha -R spec ./test/functional ./test/unit
test-only: mocha -R dot ./test/functional ./test/unit
test-only: mocha ./test/functional ./test/unit
lint: eslint --reset .
prepublish: js-yaml package.yaml > package.json
clean-shrinkwrap: |

3
test/mocha.opts Normal file
View file

@ -0,0 +1,3 @@
--reporter dot
--timeout 5000
--inline-diffs