Fix record-tests script

Result of readConfig changed slightly in Jest 0.19.
This commit is contained in:
Andrew Clark
2017-02-24 10:46:49 -08:00
parent 1ae7436d01
commit 3bdc6d0c8e
+1 -1
View File
@@ -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),
});