How to use jest with typescript ? jest documentation suggest two solutions : babel and ts-node. In this repository i will look into ts-jest
using with typescript should solve the jest es module problem - lets see about that
install dependencies
pnpm i -D jest typescript ts-jest @types/jest
create config file
npx ts-jest config:init
add to package.json
"test": "jest"
npm test