Actually run mocha on test
This commit is contained in:
parent
511d60925a
commit
9968e1b9ac
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
"start": "node ./dist/index.js",
|
"start": "node ./dist/index.js",
|
||||||
"postinstall": "typings install",
|
"postinstall": "typings install",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"test": "npm run build && nsp check",
|
"test": "npm run build && npm run mocha && nsp check",
|
||||||
"mocha": "NODE_ENV=test mocha --compilers ts:ts-node/register --require scripts/test-helper.js src/__tests__/**.test.ts",
|
"mocha": "NODE_ENV=test mocha --compilers ts:ts-node/register --require scripts/test-helper.js src/__tests__/**.test.ts",
|
||||||
"lint": "tslint src/**/*.ts"
|
"lint": "tslint src/**/*.ts"
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue