Only pass initialPageParams option through query hook #46
tests.yml
on: push
Check for changes
6s
Matrix: build
Matrix: Check package config with are-the-types-wrong
Matrix: Test against dist
Matrix: test-published-artifact
Matrix: test-type-portability
Matrix: test-types
Annotations
10 errors
Test Types: TS 4.7
'param' is referenced directly or indirectly in its own type annotation.
|
Test Types: TS 4.7
Property 'param' does not exist on type 'never'.
|
Test Types: TS 4.7
Property 'direction' does not exist on type 'never'.
|
Test Types: TS 4.7
Process completed with exit code 2.
|
Test Types: TS 4.8
'param' is referenced directly or indirectly in its own type annotation.
|
Test Types: TS 4.8
Property 'param' does not exist on type 'never'.
|
Test Types: TS 4.8
Property 'direction' does not exist on type 'never'.
|
Test Types: TS 4.8
Process completed with exit code 2.
|
src/query/tests/buildHooks.test.tsx > hooks tests > useInfiniteQuery > useInfiniteQuery fetchNextPage Trigger:
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
|
Test against dist (20.x)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
package
|
1.2 MB |
|