- Notifications
You must be signed in to change notification settings - Fork 152
Closed
Labels
Description
Hello,
Take the following example:
await Promise.all([ waitFor(() => expect(getByText('first-item')).toBeTruthy() ), waitFor(() => expect(getByText('second-item')).toBeTruthy() ), ]);
This is flagged up as an error: "Promise returned from waitFor
must be handled", which I believe is a false positive, as the Promise is indeed being handled by the Promise.all.
Thanks