I am getting JEST test environment was torn error message. I am not sure why that is happening. Any pointers or suggestions which I could try to solve this issue? Is it possible to debug such issue?
Actaully I am testing functional component using react testing library and test is very simple just DOM testing but in beforeAll block there is jest.FakeTimers() will that cause this problem?