refactor(react): make the promise hack explicit for older React versions #4902
Annotations
2 errors
Test 18.2.0
Process completed with exit code 1.
|
Test 18.2.0:
tests/react/async2.test.tsx#L90
TestingLibraryElementError: Unable to find an element with the text: count: 1. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div />
</body>
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ findByText node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ tests/react/async2.test.tsx:90:18
|
Loading