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