-
Notifications
You must be signed in to change notification settings - Fork 46
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
Make compatible with Jest #9
Comments
@russcarver thanks for the issue. I've never used Jest but I'll have a look. |
+1 on this, Id love to use your mocks but using jest is painful with it. |
@russcarver @MagicAardvark do either of you have a public project that is using jest that I could clone and tinker with? |
I do not currently, Jest is very very simple to set up. as a temporary fix I can offer a 'fix' I made to your code to use @russcarver's suggestion above. ill open a PR for you. |
@MagicAardvark, thank you. |
This is some great stuff! However we have recently migrated from Karma to Jest and Jest does not expose the
createSpyObj
method of Jasmine. As such, I've had to "copy" over the mocks you have that I want to use and have them use this version of `createSpyObj'. If you could incorporate it somehow into your code, that would be great!!The text was updated successfully, but these errors were encountered: