From a6debbcf1396e6b8c06a85f9b2db8766a8f0f793 Mon Sep 17 00:00:00 2001 From: Ryan Graham Date: Fri, 13 Dec 2013 10:27:33 -0800 Subject: [PATCH] Move mocha args to test/mocha.opts --- package.json | 2 +- test/mocha.opts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 test/mocha.opts diff --git a/package.json b/package.json index 75bcd81..cf798a3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "MySQL connector for loopback-datasource-juggler", "main": "index.js", "scripts": { - "test": "mocha --globals getSchema --timeout 15000" + "test": "mocha" }, "dependencies": { "mysql": "~2.0.0-rc2", diff --git a/test/mocha.opts b/test/mocha.opts new file mode 100644 index 0000000..cc640c6 --- /dev/null +++ b/test/mocha.opts @@ -0,0 +1,2 @@ +--globals getSchema +--timeout 15000