pnpm exec jest --init
add @types/jest
to tsconfig types
paths
in tsconfig should same as moduleNameMapper
in jest.config.js
testMatch: ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[tj]s?(x)"],
https://chrome.google.com/webstore/detail/testing-playground/hejbmebodbijjdhflfknehhcgaklhano