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
When using typescript i am required to use calledWith on a deep mocked function instead of not providing this, or i have to ts-ignore it, if there is no way to avoid this, can calledWIth be called without passing a matcher as the default if i want to mock in all cases?
it seems this problem goes away when adding the @types/jest@27.5.0 so i think issue #115 is the problem here, i think maybe the types need to be updated for the package
it seems this problem goes away when adding the @types/jest@27.5.0 so i think issue #115 is the problem here, i think maybe the types need to be updated for the package
When using typescript i am required to use calledWith on a deep mocked function instead of not providing this, or i have to ts-ignore it, if there is no way to avoid this, can calledWIth be called without passing a matcher as the default if i want to mock in all cases?
Works:
Should work without ts-ignore?
Or
instead of
The text was updated successfully, but these errors were encountered: