DEV Community

Discussion on: Formik & React Testing Library and Screaming at a Computer for an Hour

Collapse
 
rangeoshun profile image
Abel Varga

If you do not await the wait in an async function, the test is over before the expectation could be evaluated.