Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Has anyone ever tried to use this with Jest? #307

Open
micronaut opened this issue May 17, 2018 · 2 comments
Open

Has anyone ever tried to use this with Jest? #307

micronaut opened this issue May 17, 2018 · 2 comments

Comments

@micronaut
Copy link

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

@ganqqwerty
Copy link

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.

@micronaut
Copy link
Author

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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants