|
1 | 1 | import fs from 'node:fs'; |
2 | 2 | import path from 'node:path'; |
3 | 3 | import { beforeEach, expect, test, vi } from 'vitest'; |
4 | | -import { mkdtempForTestSync } from '../../../../__tests__/test-utils/tmp-dir.ts'; |
| 4 | +import { mkdtempForTestSync } from '../../../__tests__/test-utils/tmp-dir.ts'; |
5 | 5 |
|
6 | | -vi.mock('../../../snapshot-interactor-capture.ts', () => ({ |
| 6 | +vi.mock('../../snapshot-interactor-capture.ts', () => ({ |
7 | 7 | captureSnapshotWithInteractor: vi.fn(), |
8 | 8 | })); |
9 | 9 |
|
10 | | -import { captureSnapshotWithInteractor } from '../../../snapshot-interactor-capture.ts'; |
11 | | -import { makeIosSession } from '../../../../__tests__/test-utils/session-factories.ts'; |
| 10 | +import { captureSnapshotWithInteractor } from '../../snapshot-interactor-capture.ts'; |
| 11 | +import { makeIosSession } from '../../../__tests__/test-utils/session-factories.ts'; |
12 | 12 | import type { SnapshotState } from '@agent-device/kernel/snapshot'; |
13 | 13 | import type { ReplayDivergence } from '@agent-device/contracts/divergence'; |
14 | | -import { expireRefFrame, refFrameScope, refFrameState, refFrameTree } from '../../../ref-frame.ts'; |
15 | | -import { markSessionPartialRefsIssued, setSessionSnapshot } from '../../../session-snapshot.ts'; |
16 | | -import { SessionStore } from '../../../session-store.ts'; |
17 | | -import { captureDivergenceObservation } from '../session-replay-divergence.ts'; |
18 | | -import { boundReplayDivergenceForSession } from '../session-replay-divergence-publication.ts'; |
| 14 | +import { expireRefFrame, refFrameScope, refFrameState, refFrameTree } from '../../ref-frame.ts'; |
| 15 | +import { markSessionPartialRefsIssued, setSessionSnapshot } from '../../session-snapshot.ts'; |
| 16 | +import { SessionStore } from '../../session-store.ts'; |
| 17 | +import { captureDivergenceObservation } from '../../replay/internal/session-replay-divergence.ts'; |
| 18 | +import { boundReplayDivergenceForSession } from '../../replay/internal/session-replay-divergence-publication.ts'; |
19 | 19 | import { replaySessionForTest } from './replay-session-fixture.ts'; |
20 | 20 | import { |
21 | 21 | captureSnapshotThroughLegacyDispatchFixture, |
22 | 22 | legacyDispatchCapture, |
23 | | -} from '../../../__tests__/legacy-snapshot-capture-fixture.ts'; |
| 23 | +} from '../legacy-snapshot-capture-fixture.ts'; |
24 | 24 |
|
25 | 25 | const mockDispatchCommand = legacyDispatchCapture; |
26 | 26 | const mockCaptureSnapshotWithInteractor = vi.mocked(captureSnapshotWithInteractor); |
|
0 commit comments