<!-- * 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! * 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). * You can get the installed version of an NPM package by running `npm ls <insert package name>` in your terminal. --> - `react-hooks-testing-library` version: 5.0.2 - `react` version: 17.0.1 - `react-dom` version (if applicable): 17.0.1 - `react-test-renderer` version (if applicable):17.0.1 - `node` version:14.13.1 - `npm` (or `yarn`) version:1.22.5 ### Relevant code or config: ```js expect(result.error).toBe(null); ``` ### What you did: <!-- What you were doing --> Directly after the renderHooks() line with a function that throws a Promise ### What happened: <!-- Please provide the full error message/screenshots/anything --> ### Reproduction: result.error just after a hook that suspends (don't await the resolution of suspense). result.current was fixed in https://github.com/testing-library/react-hooks-testing-library/commit/dc21e5947a54adfaf348bfeaeab56d37a4e7e2bb but result.error was not. <!-- If possible, please create a repository that reproduces the issue with the minimal amount of code possible. Or if you can, try to reproduce the issue in a Codesandbox. You can fork the one here: https://codesandbox.io/s/ypml1r8l8j?module=%2Fsrc%2F__tests__%2FuseHello.js&previewwindow=tests --> ### Problem description: Suspense is the most important use of this library ### Suggested solution: Do the thing in https://github.com/testing-library/react-hooks-testing-library/commit/dc21e5947a54adfaf348bfeaeab56d37a4e7e2bb but apply to all members