mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
(test): Move mocha options to mocha config file
This commit is contained in:
parent
96c9f459c1
commit
1926522f99
2 changed files with 4 additions and 3 deletions
|
@ -72,7 +72,7 @@
|
||||||
"server"
|
"server"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "npm run lint && mocha ./test/functional ./test/unit --reporter=spec --full-trace",
|
"test": "npm run lint && mocha ./test/functional ./test/unit",
|
||||||
"test:coverage": "nyc mocha -R spec ./test/functional ./test/unit",
|
"test:coverage": "nyc mocha -R spec ./test/functional ./test/unit",
|
||||||
"coverage:coveralls": "nyc report --reporter=text-lcov | coveralls",
|
"coverage:coveralls": "nyc report --reporter=text-lcov | coveralls",
|
||||||
"coverage:codecov": "nyc report --reporter=lcov | codecov",
|
"coverage:codecov": "nyc report --reporter=lcov | codecov",
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
--reporter dot
|
--reporter spec
|
||||||
--timeout 5000
|
--timeout 5000
|
||||||
--inline-diffs
|
--full-trace
|
||||||
|
--colors
|
||||||
|
|
Loading…
Reference in a new issue