#ManuX
1 messages ยท Page 1 of 1 (latest)
Hello
๐
Hmmmm not sure how much I'm going to be able to help with this. It isn't really a Stripe-specific question but more seems to be about Jest itself?
I'm not intimately familiar with Jest
hmmm
Do you happen to know of any docs that could help with this?
I have been looking around but haven't found much
I took some of these ideas from here:
It's true that in your own mocks confirmPayment doesn't seem to be there
Yeah we don't really have docs on this. Like that thread states at the beginning -- we have Jest mocks internally but they aren't designed for external use really
Ah yeah good find
Well if you happen to remember something I could use or maybe you have some colleague who would know I'd appreciate any leads on this.
It's clearly getting to where it needs but for some reason the mock is not getting recognized as a function
(I'm crap at testing so I'm struggling to think why)
Yeah I'm looking around but not finding much
Yeah coming up empty. Your best bet might be to just comment on that issue above or open a new issue.
Got you. Thanks for looking into it ๐