MCPcopy Create free account
hub / github.com/CopilotKit/aimock / writeJson

Function writeJson

src/__tests__/fixture-loader.test.ts:38–42  ·  view source on GitHub ↗
(dir: string, name: string, content: unknown)

Source from the content-addressed store, hash-verified

36}
37
38function writeJson(dir: string, name: string, content: unknown): string {
39 const filePath = join(dir, name);
40 writeFileSync(filePath, JSON.stringify(content), "utf-8");
41 return filePath;
42}
43
44describe("loadFixtureFile", () => {
45 let tmpDir: string;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…