xchainjs-lib
xchainjs-lib copied to clipboard
new test framework
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