[API Concept] - Infinite Query API #7438
Annotations
2 errors
packages/toolkit/src/query/tests/buildHooks.test.tsx#L1593
TestingLibraryElementError: Unable to find an element with the text: Pokemon 0. 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>
<div
data-testid="isUninitialized"
>
false
</div>
<div
data-testid="isFetching"
>
false
</div>
<div>
Type:
fire
</div>
<div
data-testid="data"
/>
<button
data-testid="prevPage"
>
nextPage
</button>
<button
data-testid="nextPage"
>
nextPage
</button>
</div>
</div>
</body>
❯ Object.getElementError ../../node_modules/@testing-library/dom/dist/config.js:38:19
❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:90:38
❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:62:17
❯ ../../node_modules/@testing-library/dom/dist/query-helpers.js:111:19
❯ checkPageRows src/query/tests/buildHooks.test.tsx:1593:25
❯ src/query/tests/buildHooks.test.tsx:1617:7
|
|
This job failed
Loading