Update bundler #469
Annotations
11 errors and 1 warning
e2e
Process completed with exit code 1.
|
useSWR - local mutation › should skip speicla useSWRInfinite keys:
test/use-swr-local-mutation.test.tsx#L1803
expect(received).toEqual(expected) // deep equality
- Expected - 10
+ Received + 0
@@ -6,16 +6,6 @@
Array [
"swr-key-3648103",
"second",
],
"swr-key-3648103",
- Array [
- "swr-key-3648103",
- "inf",
- 0,
- ],
- Array [
- "swr-key-3648103",
- "inf",
- 1,
- ],
]
at Object.toEqual (test/use-swr-local-mutation.test.tsx:1803:18)
|
useSWRInfinite › should mutate a cache with `unstable_serialize`:
test/use-swr-infinite.test.tsx#L758
Unable to find an element with the text: data:page-test-swr-key-5210366-0:2. 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:
page-test-swr-key-5210366-0:1
</div>
</div>
</body>
at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at Object.findByText (test/use-swr-infinite.test.tsx:758:18)
|
useSWRInfinite › should mutate a cache with `unstable_serialize` based on a current data:
test/use-swr-infinite.test.tsx#L797
TypeError: Cannot read properties of undefined (reading 'map')
at map (test/use-swr-infinite.test.tsx:797:22)
at data (core/dist/index.js:314:24)
at mutateByKey (core/dist/index.js:261:12)
at mutate (test/use-swr-infinite.test.tsx:795:7)
at node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/act-compat.js:47:24
at act (node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:2512:16)
at node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/act-compat.js:46:25
at Object.<anonymous> (test/use-swr-infinite.test.tsx:794:14)
|
useSWRInfinite › should be able to use `unstable_serialize` with a custom cache:
test/use-swr-infinite.test.tsx#L832
Unable to find an element with the text: data:initial-cache. 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:
response data
</div>
</div>
</body>
at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at Object.findByText (test/use-swr-infinite.test.tsx:832:18)
|
useSWRInfinite › should reuse cached value for new pages:
test/use-swr-infinite.test.tsx#L1008
Unable to find an element with the text: data:response value,cached value. 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:
response value,response value
</div>
</div>
</body>
at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at Object.findByText (test/use-swr-infinite.test.tsx:1008:18)
|
useSWRInfinite › should return cached value ASAP when updating size and revalidate in the background:
test/use-swr-infinite.test.tsx#L1035
Unable to find an element with the text: data:response value,cached value. 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:
response value,response value
</div>
</div>
</body>
at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at Object.findByText (test/use-swr-infinite.test.tsx:1035:18)
|
useSWRInfinite › should share data with useSWR:
test/use-swr-infinite.test.tsx#L1695
Unable to find an element with the text: swr: swr-key-8851349-2,. 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:
swr-key-8851349-1,
swr-key-8851349-2,
</div>
<div>
size:
2
</div>
<div>
swr:
</div>
</div>
</body>
at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at Object.findByText (test/use-swr-infinite.test.tsx:1695:18)
|
useSWR - remote mutation › should share the cache with `useSWR` when `populateCache` is enabled:
test/use-swr-remote-mutation.test.tsx#L324
Unable to find an element with the text: data:data. 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>
<button>
trigger
</button>
<div>
data:
none
</div>
</div>
</div>
</body>
at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at Object.findByText (test/use-swr-remote-mutation.test.tsx:324:18)
|
useSWR - remote mutation › should be able to populate the cache for `useSWR`:
test/use-swr-remote-mutation.test.tsx#L367
Unable to find an element with the text: data:updated!. 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:
data
</div>
</div>
</body>
at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at Object.findByText (test/use-swr-remote-mutation.test.tsx:367:18)
|
useSWR - remote mutation › should be able to populate the cache with a transformer:
test/use-swr-remote-mutation.test.tsx#L401
Unable to find an element with the text: data:updated!:data. 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:
data
</div>
</div>
</body>
at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27)
at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at Object.findByText (test/use-swr-remote-mutation.test.tsx:401:18)
|
e2e
No files were found with the provided path: playwright-report. No artifacts will be uploaded.
|