MCPcopy
hub / github.com/coder/mux / writeRawConfig

Function writeRawConfig

src/node/config.test.ts:1239–1241  ·  view source on GitHub ↗
(value: Record<string, unknown>)

Source from the content-addressed store, hash-verified

1237
1238 describe("legacy gateway migration preserves downgrade compatibility", () => {
1239 const writeRawConfig = (value: Record<string, unknown>) => {
1240 fs.writeFileSync(path.join(tempDir, "config.json"), JSON.stringify(value));
1241 };
1242
1243 const writeProvidersConfig = (value: Record<string, unknown>) => {
1244 fs.writeFileSync(path.join(tempDir, "providers.jsonc"), JSON.stringify(value, null, 2));

Callers 1

config.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected