MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / makeDeps

Function makeDeps

packages/studio/src/utils/sdkCutover.gate.test.ts:26–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 }) as never;
25
26const makeDeps = () =>
27 ({
28 editHistory: { recordEdit: vi.fn().mockResolvedValue(undefined) },
29 writeProjectFile: vi.fn().mockResolvedValue(undefined),
30 reloadPreview: vi.fn(),
31 domEditSaveTimestampRef: { current: 0 },
32 }) as never;
33
34describe("dark-launch gate — STUDIO_SDK_CUTOVER_ENABLED=false ⇒ persist returns false", () => {
35 it("sdkTimingPersist falls back without writing", async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected