-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 Merge PR #65518 node: Add tests and types for new Node test runner …
…todo shorthands (skip and todo) by @TomasHubelbauer * Add tests and types for new Node test runner todo shorthands (skip and todo) Node introduced these recently: nodejs/node#47909 I noticed the types are missing the `only` shorthand for all of `it`, `describe` and `test`. Should I add them in this PR or in a new one once this is merged? * Add the `only` shorthands These were missing before and even though they were not introduced with the `test` shorthands I was asked by the types maintainer to add them in this PR. * Add tests for the `only` shorthand I think this is how it should be done. * Update version in `index.d.ts` The `todo` shorthands were added in the as of writing latest stable version of Node. * Add the same to `ts4.8` and fix `TestFn`/`SuiteFn` type This should be correct. * Use MAJOR.MINOR version as is enforced in the CI Didn't realize this was the case.
- Loading branch information
1 parent
b0d7dac
commit a0dad36
Showing
4 changed files
with
107 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters