mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
test(voice): build watch attempt keys from the shared builder (#2693)
This commit is contained in:
1 parent
2e3f78b3c6
commit
cadca2c18e
2 files changed
+7
-5
No files matched your search
@@ -1,5 +1,6 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {screenShareWatchAttemptKey} from '@app/features/voice/components/useScreenShareWatchFailure';
|
||||
import {
|
||||
selectVoiceMediaGraphFailure,
|
||||
selectVoiceMediaGraphViewerStreamKeys,
|
||||
@@ -101,7 +102,7 @@ describe('VoiceMediaGraphTimerScheduler', () => {
|
||||
store.transition({
|
||||
type: 'watch.attemptEnsured',
|
||||
streamKey: STREAM_KEY,
|
||||
attemptKey: `${STREAM_KEY}:1:watch`,
|
||||
attemptKey: screenShareWatchAttemptKey({streamKey: STREAM_KEY, watchGeneration: 1}),
|
||||
startedAt: store.nowMs(),
|
||||
});
|
||||
harness.advance(WATCH_ATTEMPT_TIMEOUT_MS);
|
||||
|
||||
Reference in new issue
Block a user