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

__mocks__ get ignored after second time running #329

Closed
blainekasten opened this issue Apr 13, 2015 · 6 comments
Closed

__mocks__ get ignored after second time running #329

blainekasten opened this issue Apr 13, 2015 · 6 comments

Comments

@blainekasten
Copy link
Contributor

So, I'm currently mocking superagent in a __mocks__/superagent.js file. When I save it and run the tests, everything passes. If I immediately run the test again, my tests fail and that file isn't being loaded. It seems like it's failing to cache, or not recognizing that it should use the __mocks__ when a file isn't recently changed.

@blainekasten
Copy link
Contributor Author

potentially related to #327

@blainekasten
Copy link
Contributor Author

potentially related to #326

@blainekasten
Copy link
Contributor Author

...and all of a sudden it's not an issue on my machine anymore. /shrugs

@DmitrySoshnikov
Copy link
Contributor

Does it it have an isolated repro, and does it still repro? Otherwise, can we close the issue?

@blainekasten
Copy link
Contributor Author

I'm just going to close. Haven't seen this in a while.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2021
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