asvetliakov / jest-create-mock-instance

Create mock instances with Jest
MIT License
34 stars 4 forks source link

Jest 27 support #27

Closed gustavohenke closed 2 years ago

gustavohenke commented 3 years ago

Fixes #26.

Took the freedom to upgrade jest in the dependencies too. Should still work for Jest 26-!

gustavohenke commented 3 years ago

ping @asvetliakov

korzo commented 3 years ago

@gustavohenke As this project seems no longer supported, would you mind to publish your fork to npm?

darraghoriordan commented 3 years ago

I forked this fix and published here in case anyone needs it: https://www.npmjs.com/package/@darraghor/jest-create-mock-instance

I'd recommend keeping an eye on this PR and changing back to this main version if this does get merged though

thanks for the fix gustavohenke!

asvetliakov commented 2 years ago

Thank you for the PR!