◐ Shell
clean mode source ↗

test_runner: remove plan option from run() · nodejs/node@206c668

File tree

  • test/fixtures/test-runner/output

Original file line numberDiff line numberDiff line change

@@ -524,7 +524,6 @@ function run(options) {

524524

watch,

525525

setup,

526526

only,

527-

plan,

528527

} = options;

529528
530529

if (files != null) {

@@ -577,7 +576,7 @@ function run(options) {

577576

});

578577

}

579578
580-

const root = createTestTree({ __proto__: null, concurrency, timeout, signal, plan });

579+

const root = createTestTree({ __proto__: null, concurrency, timeout, signal });

581580

root.harness.shouldColorizeTestFiles ||= shouldColorizeTestFiles(root);

582581
583582

if (process.env.NODE_TEST_CONTEXT !== undefined) {

Original file line numberDiff line numberDiff line change

@@ -74,6 +74,6 @@ test('planning with streams', (t, done) => {

7474

});

7575
7676

stream.on('end', () => {

77-

done();

77+

done();

7878

});

7979

})