Better Fetch React #36
Annotations
3 errors
Test:
test/react.test.tsx#L108
TestingLibraryElementError: Unable to find an element with the text: data:6. 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>
<div>
data:
OK
</div>
</div>
<div>
<div>
<div>
data:
2
</div>
<button
type="button"
>
refetch
</button>
</div>
</div>
<div>
<div>
<div>
data:
17
</div>
<button
type="button"
>
refetch
</button>
</div>
</div>
<div>
<div>
data:
7
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div>
data:
OK
</div>
</div>
<div>
<div>
<div>
data:
2
</div>
<button
type="button"
>
refetch
</button>
</div>
</div>
<div>
<div>
<div>
data:
17
</div>
<button
type="button"
>
refetch
</button>
</div>
</div>
<div>
<div>
data:
7
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ test/react.test.tsx:108:11
|
Test:
test/react.test.tsx#L119
TestingLibraryElementError: Unable to find an element with the text: data:6. 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>
<div>
data:
OK
</div>
</div>
<div>
<div>
<div>
data:
2
</div>
<button
type="button"
>
refetch
</button>
</div>
</div>
<div>
<div>
<div>
data:
27
</div>
<button
type="button"
>
refetch
</button>
</div>
</div>
<div>
<div>
data:
7
</div>
</div>
<div>
<div>
data:
17
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div>
data:
OK
</div>
</div>
<div>
<div>
<div>
data:
2
</div>
<button
type="button"
>
refetch
</button>
</div>
</div>
<div>
<div>
<div>
data:
27
</div>
<button
type="button"
>
refetch
</button>
</div>
</div>
<div>
<div>
data:
7
</div>
</div>
<div>
<div>
data:
17
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ test/react.test.tsx:119:11
|
Test
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading