Closed dan2kx closed 4 weeks ago
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
This worked for me, thank you so much!!
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