(obj: unknown)
| 27 | fs.rmSync(dir, { recursive: true, force: true }); |
| 28 | }); |
| 29 | const writeConfig = (obj: unknown) => |
| 30 | fs.writeFileSync( |
| 31 | path.join(dir, 'codegraph.json'), |
| 32 | typeof obj === 'string' ? obj : JSON.stringify(obj) |
| 33 | ); |
| 34 | |
| 35 | it('returns an empty list when there is no codegraph.json (the default)', () => { |
| 36 | expect(loadIncludeIgnoredPatterns(dir)).toEqual([]); |
no test coverage detected