(env: Record<string, string> = {})
| 7 | const SCRIPT = path.resolve(process.cwd(), 'install.sh'); |
| 8 | |
| 9 | function runInstaller(env: Record<string, string> = {}): string { |
| 10 | return execFileSync('bash', [SCRIPT], { |
| 11 | env: { ...process.env, QODEX_DRY_RUN: '1', ...env }, |
| 12 | encoding: 'utf8', |
| 13 | }); |
| 14 | } |
| 15 | |
| 16 | describe('install.sh (dry-run)', () => { |
| 17 | it('parses without syntax errors', () => { |
no outgoing calls
no test coverage detected