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

Function findControlCalls

packages/player/src/hyperframes-player.test.ts:1840–1845  ·  view source on GitHub ↗
(action: string)

Source from the content-addressed store, hash-verified

1838 }
1839
1840 function findControlCalls(action: string) {
1841 return postSpy.mock.calls.filter((call) => {
1842 const data = call[0] as { type?: string; action?: string };
1843 return data?.type === "control" && data?.action === action;
1844 });
1845 }
1846
1847 beforeEach(async () => {
1848 await import("./hyperframes-player.js");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected