Closed dyushin closed 11 months ago
Found solution
just change compiler in jest.config file
module.exports = {
globals: {
"ts-jest": {
compiler: "ts-patch/compiler",
},
},
@dyushin do you know why that works, and can you explain that to me please?
@dyushin do you know why that works, and can you explain that to me please?
I don't know exactly how. But it seems that, as in the case of the ts-runtime-checks library itself, the code is compiled by a modified ts-patch before running the tests
Hello!
I want to run the tests with jest, but encountered an error
TypeError: (0 , ts_runtime_checks_1.check) is not a function or its return value is not iterable
I can't combine ts-jest with tspcIs there any way to combine them?