Skip to content

Fix battery drain from Web Audio #3341

Fix battery drain from Web Audio

Fix battery drain from Web Audio #3341

Re-run triggered February 5, 2025 20:56
Status Failure
Total duration 5m 48s
Artifacts

tests.yml

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

Annotations

6 errors
RoomNotificationStateStore › Emits no event when a room has no unreads: src/audio/BackgroundAudio.ts#L23
TypeError: this.audioContext.suspend is not a function at new suspend (src/audio/BackgroundAudio.ts:23:27) at new LegacyCallHandler (src/LegacyCallHandler.tsx:171:31) at Function.get instance [as instance] (src/LegacyCallHandler.tsx:176:42) at VisibilityProvider.instance [as isRoomVisible] (src/stores/room-list/filters/VisibilityProvider.ts:38:31) at RoomNotificationStateStore.isRoomVisible [as emitUpdateIfStateChanged] (src/stores/notifications/RoomNotificationStateStore.ts:119:45) at EventEmitter.emitUpdateIfStateChanged (src/stores/notifications/RoomNotificationStateStore.ts:100:14) at Object.emit (test/unit-tests/stores/RoomNotificationStateStore-test.ts:40:16)
RoomNotificationStateStore › Emits an event when a room has unreads: src/audio/BackgroundAudio.ts#L23
TypeError: this.audioContext.suspend is not a function at new suspend (src/audio/BackgroundAudio.ts:23:27) at new LegacyCallHandler (src/LegacyCallHandler.tsx:171:31) at Function.get instance [as instance] (src/LegacyCallHandler.tsx:176:42) at VisibilityProvider.instance [as isRoomVisible] (src/stores/room-list/filters/VisibilityProvider.ts:38:31) at RoomNotificationStateStore.isRoomVisible [as emitUpdateIfStateChanged] (src/stores/notifications/RoomNotificationStateStore.ts:119:45) at EventEmitter.emitUpdateIfStateChanged (src/stores/notifications/RoomNotificationStateStore.ts:100:14) at Object.emit (test/unit-tests/stores/RoomNotificationStateStore-test.ts:52:16)
RoomNotificationStateStore › Emits an event when a feature flag changes notification state: src/audio/BackgroundAudio.ts#L23
TypeError: this.audioContext.suspend is not a function at new suspend (src/audio/BackgroundAudio.ts:23:27) at new LegacyCallHandler (src/LegacyCallHandler.tsx:171:31) at Function.get instance [as instance] (src/LegacyCallHandler.tsx:176:42) at VisibilityProvider.instance [as isRoomVisible] (src/stores/room-list/filters/VisibilityProvider.ts:38:31) at RoomNotificationStateStore.isRoomVisible [as emitUpdateIfStateChanged] (src/stores/notifications/RoomNotificationStateStore.ts:119:45) at EventEmitter.emitUpdateIfStateChanged (src/stores/notifications/RoomNotificationStateStore.ts:100:14) at Object.emit (test/unit-tests/stores/RoomNotificationStateStore-test.ts:63:16)
Jest (1)
Process completed with exit code 1.
Jest (2)
Process completed with exit code 1.
jest-tests
Process completed with exit code 1.