From 5696af07d51f953c5245b075441d660089f1684f Mon Sep 17 00:00:00 2001 From: Bart van Andel Date: Thu, 26 Jan 2017 22:11:01 +0100 Subject: [PATCH] Call mocha the npm way, fixes running tests on Windows --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 12b06ce0..d8a935ce 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A high performance linear algebra library.", "main": "vectorious.js", "scripts": { - "test": "./node_modules/mocha/bin/mocha", + "test": "mocha", "benchmark": "node ./benchmarks/vector.js && node ./benchmarks/matrix.js", "coverage": "istanbul cover _mocha -- -R spec" },