test: enable --throw-deprecation for tests (#625)

This commit is contained in:
Justin Beckwith 2019-04-30 20:15:05 -07:00 committed by David Frank
parent a35dcd14a3
commit 1fe1358642
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
"scripts": {
"build": "cross-env BABEL_ENV=rollup rollup -c",
"prepare": "npm run build",
"test": "cross-env BABEL_ENV=test mocha --require babel-register test/test.js",
"test": "cross-env BABEL_ENV=test mocha --require babel-register --throw-deprecation test/test.js",
"report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/test.js",
"coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/test.js && codecov -f coverage/coverage-final.json"
},