Skip to content

Commit

Permalink
Modify npm test script to allow for longer timeout
Browse files Browse the repository at this point in the history
This change fixes the timeout error that was occuring upon testing which was causing tests to fail.  For further reference, see: mochajs/mocha#2025
  • Loading branch information
greatwillow committed Jun 2, 2018
1 parent 216e331 commit bfa6814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit bfa6814

Please sign in to comment.