From 1ad647f772010df74443ce97212a366545491b13 Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Tue, 18 Jul 2017 18:31:42 -0700 Subject: [PATCH] Only run Fiber tests with scripts/fiber/record-tests --- scripts/fiber/record-tests | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/fiber/record-tests b/scripts/fiber/record-tests index ee89aca731072..668006f75afbd 100755 --- a/scripts/fiber/record-tests +++ b/scripts/fiber/record-tests @@ -15,8 +15,10 @@ const TestWatcher = require('jest').TestWatcher; const createContext = require('jest-runtime').createContext; const readConfig = require('jest-config').readConfig; -const argv = {}; const root = path.normalize(path.join(__dirname, '..', '..')); +const argv = { + config: path.join(root, 'scripts/jest/fiber.config.json'), +}; const testPathPattern = ''; function wrapRunnerFile(runnerPath) { @@ -79,7 +81,7 @@ function wrapRunner(originalPath) { } function runJest(maxWorkers) { - let { config } = readConfig(argv, root) + let { config } = readConfig(argv, root); config = Object.assign({}, config, { testRunner: wrapRunnerFile(config.testRunner), maxWorkers: maxWorkers,