(value: Record<string, unknown>)
| 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)); |