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

Issue with mockRequest(); #170

Open
heiyeunl opened this issue Dec 13, 2019 · 1 comment
Open

Issue with mockRequest(); #170

heiyeunl opened this issue Dec 13, 2019 · 1 comment

Comments

@heiyeunl
Copy link

I'm having trouble with using play mode when doing mock request. There isn't a problem when saving fixtures, but when I have process.env.CI = 'true'; in beforeAll, it looks like it's still not using the fixture. Just wondering if I'm missing something.

Also just a general question about differencify and mockeer. It looks like mockeer to save all request's response, including css, in fixtures. If I'm trying to do compare the snapshot of a site before and after changing a css file, it seems like I shouldn't be using mockeer since mockeer to mock css file that's stored in fixture, is that correct? Anyway thank you and your help is very much appreciate here :)

@NPrada
Copy link

NPrada commented Oct 21, 2020

Were you able to solve the problem?
I am having an issue where it seems like the generated fixtures aren't being used.
Even with the parameter { replaceIfExists: false} it seems to just regenerate the fixture

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

No branches or pull requests

2 participants