Skip to content

Better Fetch React

Better Fetch React #36

Triggered via pull request May 3, 2024 21:27
@BekacruBekacru
synchronize #1
next
Status Failure
Total duration 21s
Artifacts

ci.yml

on: pull_request
test, lint & typecheck
12s
test, lint & typecheck
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

3 errors
test/react.test.tsx > react > should refetch on focus: 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/react.test.tsx > react > should cache: 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, lint & typecheck
Process completed with exit code 1.