Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit206c668

Browse files
cjihrigmarco-ippolito
authored andcommitted
test_runner: remove plan option from run()
This commit removes the plan option to run(). I believe it wasadded by mistake. It is not documented, untested, and a testplan does not make sense in the context of run().This commit also fixes a minor formatting issue in a relatedfixture.Refs:#52860PR-URL:#53834Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>Reviewed-By: Luigi Pinca <luigipinca@gmail.com>Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>Reviewed-By: James M Snell <jasnell@gmail.com>Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent8660d48 commit206c668

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎lib/internal/test_runner/runner.js

Lines changed: 1 addition & 2 deletions
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-
constroot=createTestTree({__proto__:null, concurrency, timeout, signal, plan});
579+
constroot=createTestTree({__proto__:null, concurrency, timeout, signal});
581580
root.harness.shouldColorizeTestFiles||=shouldColorizeTestFiles(root);
582581

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

‎test/fixtures/test-runner/output/test-runner-plan.js

Lines changed: 1 addition & 1 deletion
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
})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp