Change "npm test" to call mocha directly

Rework the test script to call directly mocha and skip Makefile. This
allows CI enviroments to detect that this module is using Mocha as
the test runner.
This commit is contained in:
Hans(Zhenghan) Zhang 2015-11-20 12:43:01 -05:00 committed by Miroslav Bajtoš
parent d49dfa0293
commit 1e9affe4ba
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
"clean": "make clean",
"help": "make help",
"refresh": "make refresh",
"test": "make test"
"test": "NO_DEPRECATION=loopback-datasource-juggler mocha"
},
"engines": [
"node >= 0.6"