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