MCPcopy
hub / github.com/Fission-AI/OpenSpec / readRawConfig

Function readRawConfig

test/core/migration.test.ts:40–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40function readRawConfig(): Record<string, unknown> {
41 return JSON.parse(fs.readFileSync(getGlobalConfigPath(), 'utf-8')) as Record<string, unknown>;
42}
43
44describe('migration', () => {
45 let projectDir: string;

Callers 1

migration.test.tsFile · 0.85

Calls 1

getGlobalConfigPathFunction · 0.85

Tested by

no test coverage detected