I'm new to the "jest" and am trying to learn how to test React. I'm using nextjs in my project and their Rust Compiler. But I have noticed that when I run tests with a cache they run only one at a time, but with option --no-cache they run in parallel. Can you please help me? What I'm doing wrong?
Command to run jest tests: jest.
Without cache: jest --no-cache.
UPD: I have recently discovered that jest --watch works properly - it runs tests in parallel even without --no-cache flag. I have no idea why is this happening.