MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / writeJsonc

Function writeJsonc

packages/core/config/src/load-plugins.test.ts:34–39  ·  view source on GitHub ↗
(name: string, body: string)

Source from the content-addressed store, hash-verified

32};
33
34const writeJsonc = (name: string, body: string): string => {
35 const dir = fs.mkdtempSync(path.join(TMP_ROOT, `${name}-`));
36 const file = path.join(dir, "executor.jsonc");
37 fs.writeFileSync(file, body);
38 return file;
39};
40
41const writeFixturePackage = (name: string, server: string): void => {
42 const packageName = `@loader-fixture/${name}`;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected