refact: extract withCallViewModel in test utils file

This commit is contained in:
Valere
2025-11-14 17:30:02 +01:00
parent b731c2e9fd
commit 6d8d2d2384
4 changed files with 188 additions and 137 deletions

View File

@@ -24,8 +24,8 @@ import {
createCallNotificationLifecycle$,
type Props as CallNotificationLifecycleProps,
} from "./CallNotificationLifecycle";
// import { withCallViewModel } from "./CallViewModel.test";
import { trackEpoch } from "../ObservableScope";
import { withCallViewModel } from "./CallViewModelTestUtils.test";
const mockLegacyRingEvent = {} as { event_id: string } & ICallNotifyContent;
function mockRingEvent(