Hi, I'm still seeing this error, my code isn't much different to be honest:
it('should do something', async () => {
render(<ExampleComponent />);
await waitFor(() => {
expect(screen.getByText('Option 2')).toBeInTheDocument();
});
});
I thought it might be because of the async function, but removing that doesn't change anything.
Originally posted by @dan-proudfoot-bots in #11934