Configure ts-jest with multi-project jest setup

420 Views Asked by At

I want to run jest tests across multiple sub projects. To do so I make use of js-test but I seem to be missing some details about configuring it correctly.

Here you can find a very basic repo to reproduce my error. One can simply install it with yarn or npm and then run the only available script via yarn test (or npm run test) accordingly. The outcome is a set of two errors (one for each test in each sub-project), both complaining about the syntax of a referenced .ts file.

Is this fixable at all at the moment? I am aware of this pinned issue but I cannot say for sure if this is 100% related.

Any feedback would be greatly appreciated!

0

There are 0 best solutions below