-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
nodejs-github-bot
pushed a commit
that referenced
this issue
Feb 21, 2023
PR-URL: #46604 Fixes: #46562 Reviewed-By: Moshe Atlow <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
juanarbol
pushed a commit
that referenced
this issue
Mar 3, 2023
PR-URL: #46604 Backport-PR-URL: #46839 Fixes: #46562 Reviewed-By: Moshe Atlow <[email protected]>
juanarbol
pushed a commit
that referenced
this issue
Mar 5, 2023
PR-URL: #46604 Backport-PR-URL: #46839 Fixes: #46562 Reviewed-By: Moshe Atlow <[email protected]>
targos
pushed a commit
that referenced
this issue
Mar 13, 2023
PR-URL: #46604 Fixes: #46562 Reviewed-By: Moshe Atlow <[email protected]>
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: