Does jest.retryTimes reset module state between retries, or are side-effect writes duplicated?
I am designing a test suite that uses jest.retryTimes(2) to tolerate occasional flakiness in integration tests that write to a shared test database and filesystem fixtures. The documented behavior is clear that a failed test function is re-executed from the start, but it is unclear to me whether Jest resets the module registry or any other environment state