• The deprecation warning is just a warning (duh). It will be gone once you put the Jest configuration in a separate file (which I recommend to not bloat your package.json).
  • <rootDir> should be the root of your project by default. Make sure your tsconfig file is available on the specified path. Alternatively, you can change the path yourself: https://kulshekhar.github.io/ts-jest/user/config/tsConfig

--

--

Co-founder of Sunhat. Hiring software engineers in Europe. 有難うございます。🚀

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store