Skip to content

Instantly share code, notes, and snippets.

@macbre
Created October 28, 2021 11:38
Show Gist options
  • Save macbre/fe87d198dff721fca7bc31281ca2507b to your computer and use it in GitHub Desktop.
Save macbre/fe87d198dff721fca7bc31281ca2507b to your computer and use it in GitHub Desktop.
ts-jest setup
npm remove @types/mocha mocha
npm i --save-dev @types/jest jest
npm i --save-dev ts-jest
npx ts-jest config:init
and provide testRegex entry in jest.config.js file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment