I`m starting to work with TypeScript and when I was coding in pure JS, I used to test it with Jest. Now, when I need to test my TS code, I found out that there is ts-jest, but the question is: do I really need it? Because my TS code is compiled into corresponding JS and after this I can test it with normal Jest. So, for what purpose I need to use ts-jest? Or maybe I don't need it?
From briefly reading the docs, it seems the only difference really is that ts-jest transpiles and begins the test suites in one go, so you dont have to transpile it manually before testing. It also type checks it, but it just uses TypeScript itself for that, so I would say it's optional really.