-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
test_runner: support describe / it only shorthands #46562
Labels
feature request
Issues that request new features to be added to Node.js.
test_runner
Issues and PRs related to the test runner subsystem.
Comments
richiemccoll
added
the
feature request
Issues that request new features to be added to Node.js.
label
Feb 8, 2023
VoltrexKeyva
added
the
test_runner
Issues and PRs related to the test runner subsystem.
label
Feb 8, 2023
MoLow
pushed a commit
to MoLow/node
that referenced
this issue
Feb 25, 2023
PR-URL: nodejs#46604 Fixes: nodejs#46562 Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
MoLow
pushed a commit
to MoLow/node
that referenced
this issue
Feb 25, 2023
PR-URL: nodejs#46604 Fixes: nodejs#46562 Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
MoLow
pushed a commit
to MoLow/node
that referenced
this issue
Feb 25, 2023
PR-URL: nodejs#46604 Fixes: nodejs#46562 Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature request
Issues that request new features to be added to Node.js.
test_runner
Issues and PRs related to the test runner subsystem.
What is the problem this feature will solve?
A common shorthand when writing tests is to be able to quickly run isolated blocks of tests using
describe.only
andit.only
.Examples
it.only
)it.only
)Currently the test runner doesn't support these shorthands.
TypeError: describe.only is not a function
error: 'it.only is not a function'
What is the feature you are proposing to solve the problem?
Use a consistent approach with the other
describe/it
shorthands (skip
andtodo
) and add another foronly
.What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: