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:
parent
a55dc65775
commit
3e9932d866
2 changed files with 6 additions and 4 deletions
|
@ -56,8 +56,7 @@ devDependencies:
|
||||||
#
|
#
|
||||||
rimraf: '>=2.2.5 <3.0.0-0'
|
rimraf: '>=2.2.5 <3.0.0-0'
|
||||||
|
|
||||||
# https://github.com/mochajs/mocha/issues/1614
|
mocha: '2 >=2.2.3'
|
||||||
mocha: '<= 1.20'
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Linting tools
|
# Linting tools
|
||||||
|
@ -95,9 +94,9 @@ keywords:
|
||||||
- server
|
- server
|
||||||
|
|
||||||
scripts:
|
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-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 .
|
lint: eslint --reset .
|
||||||
prepublish: js-yaml package.yaml > package.json
|
prepublish: js-yaml package.yaml > package.json
|
||||||
clean-shrinkwrap: |
|
clean-shrinkwrap: |
|
||||||
|
|
3
test/mocha.opts
Normal file
3
test/mocha.opts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
--reporter dot
|
||||||
|
--timeout 5000
|
||||||
|
--inline-diffs
|
Loading…
Add table
Reference in a new issue