ElementCall fix strict mode call creation loop #3305
Annotations
3 errors
Run tests:
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)
|
Run tests:
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)
|
Run tests
Process completed with exit code 1.
|
Loading