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

Function expectGsapScriptPatch

packages/sdk/src/session.dispatch.test.ts:37–42  ·  view source on GitHub ↗
(id: string, events: PatchEvent[])

Source from the content-addressed store, hash-verified

35}
36
37function expectGsapScriptPatch(id: string, events: PatchEvent[]): void {
38 expect(typeof id).toBe("string");
39 expect(id.length).toBeGreaterThan(0);
40 expect(events).toHaveLength(1);
41 expect(events[0]!.patches.find((p) => p.path.includes("/script/gsap"))).toBeDefined();
42}
43
44// ─── patch event emission ─────────────────────────────────────────────────────
45

Callers 1

Calls 1

findMethod · 0.65

Tested by

no test coverage detected