From f44e8f5594b64df4a4cac02fe107691ca3c3490f Mon Sep 17 00:00:00 2001 From: jannyHou Date: Thu, 7 Nov 2019 09:47:11 -0500 Subject: [PATCH] chore: move mocha flag to opts --- package.json | 2 +- test/mocha.opts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 29d838b..c8c6cc7 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "pretest": "node pretest.js", "lint": "eslint .", - "test": "mocha --timeout 10000 --exit test/*.test.js node_modules/juggler-v3/test.js node_modules/juggler-v4/test.js", + "test": "mocha test/*.test.js node_modules/juggler-v3/test.js node_modules/juggler-v4/test.js", "posttest": "npm run lint" }, "dependencies": { diff --git a/test/mocha.opts b/test/mocha.opts index cc640c6..06d47df 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -1,2 +1,3 @@ --globals getSchema --timeout 15000 +--exit