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 has been archived by the owner on Jul 26, 2023. It is now read-only.
I am trying to move from using Karma to using Jest for our testing. We have some existing specs that are using jasmine-jquery to load html files to set up the dom for testing.
I am getting an error "Fixture could not be loaded" and I was wondering if anyone has used this library with Jest or how to determine why the fixture can't be loaded.
Thanks
The text was updated successfully, but these errors were encountered:
Man, it's totally weird, but it seems that the library hasn't been updated in ages, like suddenly people in frontend stopped writing tests altogether. I don't know what's going on, but it's unlikely that it supports jest.
Thanks for the response @ganqqwerty.
I've been digging into the jsdom code that Jest uses to see how/where Jest would serve up a static file, but still trying to get it to work.
I saw this project was not being actively maintained and I haven't found any way to load an external fixture in Jest.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to move from using Karma to using Jest for our testing. We have some existing specs that are using jasmine-jquery to load html files to set up the dom for testing.
I am getting an error "Fixture could not be loaded" and I was wondering if anyone has used this library with Jest or how to determine why the fixture can't be loaded.
Thanks
The text was updated successfully, but these errors were encountered: