Skip to content

ElementCall fix strict mode call creation loop #3305

ElementCall fix strict mode call creation loop

ElementCall fix strict mode call creation loop #3305

Triggered via pull request February 5, 2025 11:43
Status Failure
Total duration 6m 23s
Artifacts 1

tests.yml

on: pull_request
Matrix: Jest
jest-tests
1s
jest-tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
RoomViewStore › should display an error message when the room is unreachable via the roomId: src/models/Call.ts#L723
TypeError: Cannot read properties of undefined (reading 'getApps') at Function.getApps [as createOrGetCallWidget] (src/models/Call.ts:723:47) at Function.createOrGetCallWidget [as create] (src/models/Call.ts:834:21) at RoomViewStore.create [as viewRoom] (src/stores/RoomViewStore.tsx:358:33) at RoomViewStore.viewRoom [as onDispatch] (src/stores/RoomViewStore.tsx:216:22) at MatrixDispatcher.invokeCallback (src/dispatcher/dispatcher.ts:115:31) at invokeCallback (src/dispatcher/dispatcher.ts:92:22) at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
CallView › without an existing call › creates and connects to a new call when the join button is pressed: test/unit-tests/components/views/voip/CallView-test.tsx#L155
expect(received).not.toBeNull() Received: null Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> at toBeNull (test/unit-tests/components/views/voip/CallView-test.tsx:155:85) 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)
Jest (2)
Process completed with exit code 1.
jest-tests
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
coverage-1
394 KB