Skip to content
RED SAGSkills
medium10 pts · first answer countsreacttesting

Testing text that appears after a fetch

A test fails because getByText("Welcome, Ravi") runs before the mocked API responds. What is the fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions