-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: update test concurrency description / default value #46457
doc: update test concurrency description / default value #46457
Conversation
Review requested:
|
85910bb
to
0210c43
Compare
2937cfc
to
ac76ec2
Compare
Other occurrences of Lines 679 to 685 in 1ecc03e
Lines 1648 to 1650 in 1ecc03e
It'd be nice to make all of them be consistent w.r.t to |
ac76ec2
to
f23581b
Compare
@aduh95 Thanks. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
concurrency
options. The description forcontext.test
andrun
are now consistent with thetest
section as they both allownumber
orboolean
forconcurrency
.I've also updated:
context.test
from 1 tofalse
so that it's consistent withtest
concurrency default.run
fromtrue
tofalse
so that it's consistent with thetest/context.test
defaults.