mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-03 10:46:19 +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",
|
"prerelease": "yarn test && yarn compile",
|
||||||
"release": "node ./scripts/release/publish.js",
|
"release": "node ./scripts/release/publish.js",
|
||||||
"postrelease": "yarn website:release && yarn benchmarks:release",
|
"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": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.26.0",
|
"babel-cli": "^6.26.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user