From 1e9affe4ba194831e35827fb0c17884fb1c9b345 Mon Sep 17 00:00:00 2001 From: "Hans(Zhenghan) Zhang" Date: Fri, 20 Nov 2015 12:43:01 -0500 Subject: [PATCH] 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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1dec2b9c..055cc364 100644 --- a/package.json +++ b/package.json @@ -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"