Skip to content
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

Support node built-in test runner #297

Open
neochrome opened this issue Sep 29, 2023 · 1 comment
Open

Support node built-in test runner #297

neochrome opened this issue Sep 29, 2023 · 1 comment

Comments

@neochrome
Copy link

Hi!
Thanks for putting your time and effort into this awesome library!

We're currently looking at replacing Jest with the built-in test runner of node (since v18) and this project is almost a drop-in replacement, except for the snapshot validator.
Currently it seems to accept Mocha and Uvu style TestContexts, but not the one available in native node.
The main difference seems to be how to get the name of the suite.
The node TestContext type can be found in @types/node/test.d.ts.

Would it perhaps make sense to extend the support to include also the native node one?

@SamuelMarks
Copy link

@krzkaczor Would be great to have this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants