MCPcopy Create free account
hub / github.com/awslabs/llrt / createTestScript

Function createTestScript

tests/unit/executable.test.ts:40–44  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

38 let exePath: string;
39
40 const createTestScript = async (content: string): Promise<string> => {
41 const scriptPath = join(tmpDir, "exe_test.js");
42 await writeFile(scriptPath, content, "utf8");
43 return scriptPath;
44 };
45
46 beforeEach(async () => {
47 tmpDir = await mkdtemp(join(tmpdir(), "llrt-test-compile"));

Callers 1

executable.test.tsFile · 0.85

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected