Closed sandun86 closed 1 year ago
Hi @sandun86 what exactly do you want to do, what problem do you encounter?
Here's a simple mock:
const mock = { create: () => ({ verify: async (jwt) => ({ claim: "claim value" }) }) };
Closing for now, let us you if you still have questions
How can we mock the following code using Jest