piotrwitek / ts-mocha

Mocha thin wrapper that allows running TypeScript tests with TypeScript runtime (ts-node) to get rid of compilation complexity
MIT License
189 stars 25 forks source link

What is the added value on top of just using ts-node/register? #47

Closed dietergeerts closed 2 years ago

dietergeerts commented 4 years ago

We use ts-node/register currently to run mocha tests with TS in watch mode. In development, our express service is ran with ts-node-dev, which combines ts-node and node-dev, so the watching is optimized. I was hoping to see the same with this package. If I look at the code, ts-node/register is just being used. So I wonder what the actual extra added value of this package is on top of ts-node/register?

Imho, this would be a welcome addition to the readme, so people will know, as if you don't want to use any of the extra stuff, you can just use ts-node/register.

piotrwitek commented 2 years ago

Seems like most people don't want to deal with ts-node/register complexity and want other people with knowledge and time to handle it for them, I'm one of those people and it seems there are many more as there are 9 MLN downloads and many contributors.