From bfa6814127b53684b4815029e399941b917e3342 Mon Sep 17 00:00:00 2001 From: greatwillow Date: Sat, 2 Jun 2018 16:34:30 -0400 Subject: [PATCH] Modify npm test script to allow for longer timeout This change fixes the timeout error that was occuring upon testing which was causing tests to fail. For further reference, see: https://github.com/mochajs/mocha/issues/2025 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2dccae4..2298766 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build:watch": "watch 'npm run build' ./src", "prepublish": "npm run build", "coverage": "nyc report --reporter=text-lcov | coveralls", - "test": "standard src/*.js && NODE_ENV=test nyc -- mocha ./test/**/*.js --compilers js:babel-register", + "test": "standard src/*.js && NODE_ENV=test nyc -- mocha ./test/**/*.js --compilers js:babel-register --timeout 10000", "test:watch": "watch 'npm run test' ./test ./src" }, "devDependencies": {