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
{{ message }}
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
There are multiple ways to mock modules, classes and libraries in Jest - the starter should demonstrate good mocking practise that can easily be followed when using the template.
Example mocking a library module (node_module)
Example mocking a class
Example mocking a class function with different return values
Any more examples that would be beneficial to help new users of the the Lambda Starter and Jest.
Are you currently using a workaround / alternative solution instead?
Different mocking techniques and styles are being used across the different internal Lambda's. We should standardise and set a best practise.
Contact Details
No response
Feature Request
There are multiple ways to mock modules, classes and libraries in Jest - the starter should demonstrate good mocking practise that can easily be followed when using the template.
Any more examples that would be beneficial to help new users of the the Lambda Starter and Jest.
Are you currently using a workaround / alternative solution instead?
Different mocking techniques and styles are being used across the different internal Lambda's. We should standardise and set a best practise.