(present: Set<string>)
| 34 | describe('detectInstallMethod', () => { |
| 35 | // A bundle exists if a vendored node + launcher sit next to lib/. |
| 36 | function bundleExists(present: Set<string>) { |
| 37 | return (p: string) => present.has(p.replace(/\\/g, '/')); |
| 38 | } |
| 39 | |
| 40 | it('detects a unix bundle and derives the install dir from the versions/ layout', () => { |
| 41 | const root = '/home/u/.codegraph/versions/v0.9.9'; |