Skip to content

new test framework #1459

@dynst

Description

@dynst

Migrating away from Jest/ts-jest to the native test module that got stabilized in Node.js 20 might be worthwhile at some point. (Most of its API is similar to Jest's.)

https://nodejs.org/en/blog/announcements/v20-release-announce#stable-test-runner

Jest is only barely maintained jestjs/jest#11529 (comment) even after ownership got transferred from Meta to the OpenJS Foundation in 2022. (That linked PR took 4 years to get merged.)

Instead of ts-jest, the TypeScript tests would need tsx https://tsx.is/node-enhancement

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