You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, due to some race condition or wrong definition, we can't get to run the built-in jest-mock functionality.
To remind, it was possible if you're using Jest for testing, all you have to do in your ***.spec.js file is to import the Jest mock as follows:
Unfortunately, due to some race condition or wrong definition, we can't get to run the built-in
jest-mock
functionality.To remind, it was possible if you're using
Jest
for testing, all you have to do in your***.spec.js
file is to import the Jest mock as follows:But we're having issue with that:
Sentry is not defined
andMaximum call stack size exceeded
(looks like circular dep): https://github.com/wix/sentry-testkit/runs/2477315004You may refer to the source code of
jestMock.ts
and we'll be happy for your help and suggestions.Thank you @sidoruk-sv for pointing this out! 💙
The text was updated successfully, but these errors were encountered: