MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / usePersistentEditHistory.test.ts

File usePersistentEditHistory.test.ts

packages/studio/src/hooks/usePersistentEditHistory.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from "vitest";
2import { createEmptyEditHistory } from "../utils/editHistory";
3import type { EditHistoryStorageAdapter } from "../utils/editHistoryStorage";
4import { createMemoryEditHistoryStorage } from "../utils/editHistoryStorage";

Callers

nothing calls this directly

Calls 6

createEmptyEditHistoryFunction · 0.90
snapshotMethod · 0.80
undoMethod · 0.65

Tested by

no test coverage detected