Skip to content

Commit d8b5269

Browse files
committed
build: run unit tests sequentially in travis
1 parent 5728682 commit d8b5269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"test-integration": "mocha test/integration",
120120
"test-unit": "jest test/unit/",
121121
"test": "npm run test-unit && npm run test-integration && nyc report --reporter=html",
122-
"test-travis": "npm run test-unit && nyc mocha test/integration/ --grep @slow --invert && nyc report --reporter=html",
122+
"test-travis": "jest --silent --runInBand test/unit/ && nyc mocha test/integration/ --grep @slow --invert && nyc report --reporter=html",
123123
"report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov",
124124
"watch-doc": "nodemon --watch ./ --ext js,tmpl,json --ignore dist/ --ignore doc/ --ignore test/ --ignore examples/ --exec npm run doc",
125125
"watch": "npm run test-unit -- --watch",

0 commit comments

Comments
 (0)