Skip to content

Support node built-in test runner #297

@neochrome

Description

@neochrome

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions