diff --git a/lib/internal/test_runner/runner.js b/lib/internal/test_runner/runner.js index 71d1d731f575ba..0fd1a84a60f2b9 100644 --- a/lib/internal/test_runner/runner.js +++ b/lib/internal/test_runner/runner.js @@ -524,7 +524,6 @@ function run(options) { watch, setup, only, - plan, } = options; if (files != null) { @@ -577,7 +576,7 @@ function run(options) { }); } - const root = createTestTree({ __proto__: null, concurrency, timeout, signal, plan }); + const root = createTestTree({ __proto__: null, concurrency, timeout, signal }); root.harness.shouldColorizeTestFiles ||= shouldColorizeTestFiles(root); if (process.env.NODE_TEST_CONTEXT !== undefined) { diff --git a/test/fixtures/test-runner/output/test-runner-plan.js b/test/fixtures/test-runner/output/test-runner-plan.js index 0d6cc8ed05cdd8..2f4cce48d54fd5 100644 --- a/test/fixtures/test-runner/output/test-runner-plan.js +++ b/test/fixtures/test-runner/output/test-runner-plan.js @@ -74,6 +74,6 @@ test('planning with streams', (t, done) => { }); stream.on('end', () => { - done(); + done(); }); })