-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
doc: move describe/it aliases section before expectFailure #61567
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
base: main
Are you sure you want to change the base?
Conversation
|
Review requested:
|
JakobJingleheimer
left a comment
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.
I presume this is a cut-paste
yep, it is |
48eeed9 to
4c1db7d
Compare
|
I think clarity would be better served by keeping all the flag options for IMHO one of the following:
|
|
Let's write a proposal for it (in the nodejs/test_runner repo) |
The “Expecting tests to fail” section uses it() before the documentation explains that it() is an alias of test().
This reorders the relevant documentation sections so that the describe() / it() aliases are introduced before being used, improving readability for first-time readers.