doc: update test concurrency description / default value#46457
doc: update test concurrency description / default value#46457richiemccoll wants to merge 1 commit intonodejs:mainfrom
Conversation
|
Review requested:
|
85910bb to
0210c43
Compare
2937cfc to
ac76ec2
Compare
ac76ec2 to
f23581b
Compare
|
@aduh95 Thanks. The |
aduh95
left a comment
There was a problem hiding this comment.
The default is actually neither 1 nor false for t.test, the default is to inherit from the parent, let's fix that.
ed6de70 to
75f89a6
Compare
d73bf28 to
5156131
Compare
|
This updates only the documentation, but no implementation. Was the documentation merely incorrect? (I'm pretty sure at least 1 of the changes does correct the doc to the actual behaviour). If so, happy to switch to approve. |
5156131 to
388b813
Compare
@JakobJingleheimer Yes, the documentation was incorrect regarding subtest |
4d9eae5 to
1f61d56
Compare
|
@richiemccoll linter is failing |
1f61d56 to
2109a3d
Compare
@MoLow Thanks. Pushed a fix. |
Commit Queue failedhttps://github.com/nodejs/node/actions/runs/4102747738 |
PR-URL: #46457 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me>
|
Landed in 7d68b7b |
|
Thanks a lot for the contribution @richiemccoll and congrats on your first commit landed on nodejs/node 🎉 |
|
PR-URL: nodejs/node#46457 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> (cherry picked from commit 7d68b7bbfc9ffbd2ad0913972ac0b1a315679b06)
PR-URL: nodejs/node#46457 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> (cherry picked from commit 7d68b7bbfc9ffbd2ad0913972ac0b1a315679b06)
PR-URL: nodejs/node#46457 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> (cherry picked from commit 7d68b7bbfc9ffbd2ad0913972ac0b1a315679b06)
PR-URL: #46457 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me>
PR-URL: #46457 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me>
Fixes: #45643.
This PR aligns the documentation for the test runner
concurrencyoptions. The description forcontext.testandrunare now consistent with thetestsection as they both allownumberorbooleanforconcurrency.I've also updated:
context.testfrom 1 tofalseso that it's consistent withtestconcurrency default.runfromtruetofalseso that it's consistent with thetest/context.testdefaults.