Hey!

  • 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

I hope that helps.

Written by

Senior Software Engineer @LeanIX. Co-founder of Sedeo. Passion for software engineering and startups. Looking forward to build great things. 有難うございます。🚀

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