Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

index: export a function to re-initialize mocks #98

Merged
merged 5 commits into from
Nov 28, 2022

Conversation

nicks
Copy link
Contributor

@nicks nicks commented Aug 3, 2022

This allows consumers of this library to use the mock with jest.resetAllMocks()

Should allow workarounds for #72

@nicks nicks force-pushed the nicks/createCanvasMock branch from 4730462 to d2ca58e Compare August 3, 2022 22:35
src/index.js Outdated Show resolved Hide resolved
Co-authored-by: Jon Dufresne <[email protected]>
types/index.d.ts Outdated Show resolved Hide resolved
Signed-off-by: Nick Santos <[email protected]>
src/index.js Outdated Show resolved Hide resolved
src/index.js Outdated Show resolved Hide resolved
Signed-off-by: Nick Santos <[email protected]>
@nicks nicks force-pushed the nicks/createCanvasMock branch from 1709ff9 to d9b95c7 Compare October 21, 2022 20:36
@nicks nicks requested a review from hustcc October 22, 2022 14:01
Signed-off-by: Nick Santos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants