()
| 151 | // OWN EMPTY temp dir so exactly one watch is installed and the close-count |
| 152 | // is deterministic across platforms. |
| 153 | const mkEmptyDir = () => fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-exhaust-')); |
| 154 | |
| 155 | it('fails to start and degrades when fs.watch setup exhausts watch resources', () => { |
| 156 | const dir = mkEmptyDir(); |