diff --git a/lib/internal/test_runner/runner.js b/lib/internal/test_runner/runner.js index c625024d4260f8..6fd1cb72f3b508 100644 --- a/lib/internal/test_runner/runner.js +++ b/lib/internal/test_runner/runner.js @@ -483,7 +483,6 @@ function run(options = kEmptyObject) { watch, setup, only, - plan, } = options; if (files != null) { @@ -552,7 +551,7 @@ function run(options = kEmptyObject) { }); } - 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(); }); })