Skip to content

Commit f7cbed6

Browse files
committed
Update tests to use --runInBand to run more quickly
1 parent 6b7cfd9 commit f7cbed6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ jobs:
88

99
- stage: Run tests
1010
node_js: node
11-
script: jest
11+
script: jest --runInBand

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"build:types": "tsc --emitDeclarationOnly",
3333
"build:js": "babel src --out-dir dist --extensions \".ts,.tsx\" --source-maps inline",
3434
"prepublishOnly": "npm run build",
35-
"test": "jest --watch"
35+
"test": "jest --watch --runInBand"
3636
},
3737
"eslintConfig": {
3838
"extends": "react-app"

0 commit comments

Comments
 (0)