chore: Virtualize rendering of conversations (WPB-15154) #6114
Annotations
4 errors and 10 warnings
AvatarImage › fetches full avatar image for large avatars:
src/script/components/Avatar/AvatarImage.test.tsx#L53
expect(spy).toHaveBeenCalledWith(...expected)
Expected: {"downloadProgress": [Function downloadProgress]}
Number of calls: 0
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="css-ns0ira-InViewport"
>
<img
alt=""
class="css-8gu2yi-AvatarImage"
src=""
/>
</div>
</div>
</body>
</html>...
at toHaveBeenCalledWith (src/script/components/Avatar/AvatarImage.test.tsx:53:59)
at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (node_modules/@testing-library/dom/dist/wait-for.js:124:77)
at checkRealTimersCallback (node_modules/@testing-library/dom/dist/wait-for.js:118:16)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
|
AvatarImage › fetches preview avatar image for low pixel ratio devices:
src/script/components/Avatar/AvatarImage.test.tsx#L78
expect(spy).toHaveBeenCalledWith(...expected)
Expected: {"downloadProgress": [Function downloadProgress]}
Number of calls: 0
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="css-ns0ira-InViewport"
>
<img
alt=""
class="css-8gu2yi-AvatarImage"
src=""
/>
</div>
</div>
</body>
</html>...
at toHaveBeenCalledWith (src/script/components/Avatar/AvatarImage.test.tsx:78:59)
at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (node_modules/@testing-library/dom/dist/wait-for.js:124:77)
at checkRealTimersCallback (node_modules/@testing-library/dom/dist/wait-for.js:118:16)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
|
AvatarImage › fetches preview avatar image for small avatars:
src/script/components/Avatar/AvatarImage.test.tsx#L102
expect(spy).toHaveBeenCalledWith(...expected)
Expected: {"downloadProgress": [Function downloadProgress]}
Number of calls: 0
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="css-ns0ira-InViewport"
>
<img
alt=""
class="css-8gu2yi-AvatarImage"
src=""
/>
</div>
</div>
</body>
</html>...
at toHaveBeenCalledWith (src/script/components/Avatar/AvatarImage.test.tsx:102:59)
at runWithExpensiveErrorDiagnosticsDisabled (node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (node_modules/@testing-library/dom/dist/wait-for.js:124:77)
at checkRealTimersCallback (node_modules/@testing-library/dom/dist/wait-for.js:118:16)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
|
test
Process completed with exit code 1.
|
test:
server/config/client.config.ts#L80
No magic number: 4
|
test:
server/config/client.config.ts#L83
No magic number: 500
|
test:
server/config/client.config.ts#L84
No magic number: 4
|
test:
server/config/client.config.ts#L85
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
|