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:
1 parent
1ae7436d01
commit
3bdc6d0c8e
1 file changed
+1
-1
@@ -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