-
Notifications
You must be signed in to change notification settings - Fork 16
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
clearMocks throws error on large test suite #11
Comments
I tried to simplify some things but still got this error after all tests finished running:
jest.config.js
test.test.js
|
Could you try disabling some of the tests that are being run? I've just tried running 70+ tests with both clearMocks enabled and disabled and in both cases all tests passed, however the error you are getting seems to be suspiciously similar to the error generated for other test-related problems, such as when there's an attempt to apply a Currently the error messages provided by the package are something that could be improved, I've raised the problem before in #8. |
Last time it worked with my 80 tests test suite. Now that I started using I will try to simplify more my test code. |
Ohh it was missing |
Yep, the package definitely needs better error messages. |
After creating over 30 tests with 3 transactions each, I started getting a Parent database is not open error.
I have clearMocks flag enabled. When I disable it, error doesn't appear but my tests are no longer valid.
I have an 8 core linux machine and I tried to reduce concurrency to 1 and still got the same error.
See this log:
I tried to reproduce with minimal code but it is hard.
The text was updated successfully, but these errors were encountered: