(cwd?: string)
| 161 | |
| 162 | // Helper: call loadHooksConfig with isolated homeDir and project cwd |
| 163 | function loadIsolated(cwd?: string) { |
| 164 | return loadHooksConfig(cwd ?? projectDir, fakeHome); |
| 165 | } |
| 166 | |
| 167 | it("returns empty config when no settings files exist", () => { |
| 168 | const result = loadIsolated(); |
no test coverage detected