mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-23 06:48:35 +00:00
Fix unit test timeouts on Travis CI
Jest recommends using 'runInBand' for Travis CI. It runs all tests serially in the current process, rather than creating a worker pool of child processes that run tests.
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@
|
||||
"prerelease": "yarn test && yarn compile",
|
||||
"release": "node ./scripts/release/publish.js",
|
||||
"postrelease": "yarn website:release && yarn benchmarks:release",
|
||||
"test": "yarn flow && yarn lint:check && yarn jest"
|
||||
"test": "yarn flow && yarn lint:check && yarn jest --runInBand"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.26.0",
|
||||
|
||||
Reference in New Issue
Block a user