Fix record-tests script
Result of readConfig changed slightly in Jest 0.19.
Andrew Clark committed
Feb 24, 2017 at 10:46 UTC
3bdc6d0c8ed9c28f6278a18c68bbb07cfc55da2b
1 file changed
+1
-1
scripts/fiber/record-tests
+1
-1
@@ -80,7 +80,7 @@ function wrapRunner(originalPath) {
80
81
function runJest(maxWorkers) {
82
return readConfig(argv, root)
83
- .then((config) => {
83
+ .then(({ config }) => {
84
config = Object.assign({}, config, {
85
testRunner: wrapRunnerFile(config.testRunner),
86
});