chore: Virtualize rendering of conversations (WPB-15154) #6083
Annotations
4 errors and 10 warnings
ConversationsList › should render all 1:1 conversations if there's no search filter:
src/script/page/LeftSidebar/panels/Conversations/ConversationsList.test.tsx#L98
TestingLibraryElementError: Unable to find an element with the text: Alice. 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>
<h2
class="visually-hidden"
>
conversationViewTooltip
</h2>
<ul
class="css-uqsy2t-ConversationsList"
data-uie-name="conversation-view"
style="height: 100%; overflow: auto;"
>
<div
style="height: 168px; width: 100%; position: relative;"
/>
</ul>
</div>
</body>
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at getByText (src/script/page/LeftSidebar/panels/Conversations/ConversationsList.test.tsx:98:14)
at Array.forEach (<anonymous>)
at Object.forEach (src/script/page/LeftSidebar/panels/Conversations/ConversationsList.test.tsx:97:16)
|
ConversationsList › should render all 1:1 conversations if there's no search filter:
undefined#L1
TypeError: _a.disconnect is not a function
at Object.disconnect (node_modules/@tanstack/virtual-core/src/index.ts:378:16)
at Virtualizer.cleanup (node_modules/@tanstack/virtual-core/src/index.ts:455:19)
at node_modules/@tanstack/virtual-core/src/index.ts:462:12
at safelyCallDestroy (node_modules/react-dom/cjs/react-dom.development.js:22971:5)
at commitDeletionEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24142:23)
at commitDeletionEffects (node_modules/react-dom/cjs/react-dom.development.js:24015:5)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24298:9)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24471:9)
at commitMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24282:3)
at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26849:5)
at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:26156:3)
at flushSyncCallbacks (node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (node_modules/react-dom/cjs/react-dom.development.js:26240:7)
at ReactDOMRoot.Object.<anonymous>.ReactDOMHydrationRoot.unmount.ReactDOMRoot.unmount [as unmount] (node_modules/react-dom/cjs/react-dom.development.js:29375:5)
at Object.unmount (node_modules/@testing-library/react/dist/pure.js:155:12)
at node_modules/@testing-library/react/dist/pure.js:286:12
at node_modules/@testing-library/react/dist/act-compat.js:48:24
at act (node_modules/react/cjs/react.development.js:2512:16)
at node_modules/@testing-library/react/dist/act-compat.js:47:25
at node_modules/@testing-library/react/dist/pure.js:285:28
at Array.forEach (<anonymous>)
at cleanup (node_modules/@testing-library/react/dist/pure.js:281:22)
at Object.<anonymous> (node_modules/@testing-library/react/dist/index.js:28:25)
|
Conversations › Opens preferences when clicked:
src/script/page/LeftSidebar/panels/Conversations/Conversations.test.tsx#L72
TypeError: _a.disconnect is not a function
at Object.disconnect (node_modules/@tanstack/virtual-core/src/index.ts:378:16)
at Virtualizer.cleanup (node_modules/@tanstack/virtual-core/src/index.ts:455:19)
at node_modules/@tanstack/virtual-core/src/index.ts:462:12
at safelyCallDestroy (node_modules/react-dom/cjs/react-dom.development.js:22971:5)
at commitDeletionEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24142:23)
at commitDeletionEffects (node_modules/react-dom/cjs/react-dom.development.js:24015:5)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24298:9)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24385:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24332:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24332:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24385:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24332:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24332:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24385:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24332:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24385:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24332:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24332:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24615:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24332:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24332:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24332:9)
at recursivelyTraverseMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24312:7)
at commitMutationEffectsOnFiber (node_modules/react-dom/cjs/react-dom.development.js:24471:9)
at commitMutationEffects (node_modules/react-dom/cjs/react-dom.development.js:24282:3)
at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:26849:5)
at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:26721:5)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/
|
test
Process completed with exit code 1.
|
test:
server/config/client.config.ts#L79
No magic number: 4
|
test:
server/config/client.config.ts#L82
No magic number: 500
|
test:
server/config/client.config.ts#L83
No magic number: 4
|
test:
server/config/client.config.ts#L84
No magic number: 8
|
test:
server/config/index.ts#L32
Caution: `dotenv` also has a named export `load`. Check if you meant to write `import {load} from 'dotenv-extended'` instead
|
test:
server/config/server.config.ts#L112
No magic number: 21080
|
test:
server/routes/RedirectRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead
|
test:
server/routes/Root.ts#L29
Caution: `maxmind` also has a named export `open`. Check if you meant to write `import {open} from 'maxmind'` instead
|
test:
server/routes/Root.ts#L29
Caution: `geolite2` also has a named export `paths`. Check if you meant to write `import {paths} from 'geolite2'` instead
|
test:
server/routes/error/ErrorRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead
|