I have an issue, I have recently upgraded my version of react to use react-script version 5.0.1 from version 4.0.3. Doing the instructions as per https://github.com/facebook/create-react-app/blob/main/CHANGELOG.md
Upon doing this. I can see it had an upgrade for Jest 27. However now it has broken my async/await unit tests, I can see the issue was here: https://github.com/facebook/create-react-app/issues/10747
But it does not detail anywhere, how I can resolve this issue now, I can see it is for the async await tests that use MSW.
Has anyone encountered this or can shed some light on how to resolve?
Example test:
it('Should test data', async () => { render(<App />);
const text = await screen.findByText('myTitle');
expect(tagText).toBeInTheDocument(); });