mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix record-tests script
Result of readConfig changed slightly in Jest 0.19.
This commit is contained in:
@@ -80,7 +80,7 @@ function wrapRunner(originalPath) {
|
||||
|
||||
function runJest(maxWorkers) {
|
||||
return readConfig(argv, root)
|
||||
.then((config) => {
|
||||
.then(({ config }) => {
|
||||
config = Object.assign({}, config, {
|
||||
testRunner: wrapRunnerFile(config.testRunner),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user