xchainjs-lib icon indicating copy to clipboard operation
xchainjs-lib copied to clipboard

new test framework

Open dynst opened this issue 5 months ago • 0 comments

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 https://github.com/jestjs/jest/pull/11529#issuecomment-1027152470 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

dynst avatar Jul 08 '25 22:07 dynst