Run all test/*.test.js files (#501)
Somehow, upgrading either mocha or nyc (?) appears to make the current test command skip test/bot-events.test.js. I do not know why, but quoting it (so mocha globs it instead) seems to fix this. (This happened between 2.7.0 and 2.7.1.)
This commit is contained in:
parent
4196726799
commit
c9ccd7b473
@ -27,7 +27,7 @@
|
||||
"build": "babel lib --out-dir dist",
|
||||
"prepare": "npm run build",
|
||||
"lint": "eslint . --ignore-path .gitignore",
|
||||
"coverage": "nyc --require babel-core/register _mocha -- test/*.test.js",
|
||||
"coverage": "nyc --require babel-core/register _mocha -- 'test/*.test.js'",
|
||||
"report": "nyc report --reporter=text-lcov | coveralls",
|
||||
"test": "npm run lint && npm run coverage"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user