Replies: 1 comment 1 reply
-
I am no expert, but maybe you can try this https://dev.to/s2engineers/testing-with-jest-and-typescript-the-tricky-parts-1gnc |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to migrate existing Node.js JS app to TypeScript. We have a lot of functional tests (not unit tests), where we mock some responses from external APIs.
Now that we're moving our stuff to TypeScript, such mock doesn't work anymore if ran with
ts-jest
. The runner simply ignores this mock.Any ideas how to make it work again? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions