<!-- * Please fill out this template with all the relevant information so we can understand what's going on and fix the issue. We appreciate bugs filed and PRs submitted! * If your issue is regarding one of the query APIs (`getByText`, `getByLabelText`, etc), then please file it on the `dom-testing-library` repository instead. If you file it here it will be closed. Thanks :) * Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file). We'll probably ask you to submit the fix (after giving some direction). If you've never done that before, that's great! Check this free short video tutorial to learn how: http://kcd.im/pull-request --> - `@testing-library/react` version: 10.0.4 - `react` version: 16.13.1 - `node` version: 11 - `npm` (or `yarn`) version: 6.14.5 <!-- If this is an issue with documentation, please file an issue on the docs repo: https://github.com/alexkrolick/testing-library-docs --> ### What you did: <!-- What you were doing --> ### What happened: Cleanup is happening before react finishes its work, crashing the test ### Reproduction: https://repl.it/repls/PeskyStimulatingBetaversion ### Problem description: <!-- Please describe why the current behavior is a problem --> 