MCPcopy Index your code
hub / github.com/heygen-com/hyperframes / main

Function main

packages/aws-lambda/scripts/probe-beginframe.ts:42–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40</head><body><div id="x">hf-beginframe-probe</div></body></html>`;
41
42async function main(): Promise<void> {
43 const start = Date.now();
44 const result = await probe();
45 result.durationMs = Date.now() - start;
46 console.log(JSON.stringify(result, null, 2));
47 if (!result.passed) {
48 process.exit(1);
49 }
50}
51
52async function probe(): Promise<ProbeResult> {
53 let chromiumPath = "";

Callers 1

Calls 2

nowMethod · 0.80
probeFunction · 0.70

Tested by

no test coverage detected