How to mock library? #432
Replies: 1 comment 3 replies
-
Hey @shawngustaw, Thanks for the question. Yes, you're correct. The The If you're looking for instructions on setting up the testing environment using However, if you have a specific use case that requires mocking AWS Cognito, I guess you can easily achieve it using Jest. Don't know if it's clear, but I hope that helps you to understand the goal behind this package ^^ |
Beta Was this translation helpful? Give feedback.
-
Is it correct that
@nestjs-cognito/testing
package still hits a live cognito service? If so is there a better way to mock the library entirely? This might be something nice to add to the docs 👍Beta Was this translation helpful? Give feedback.
All reactions