MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / runInstaller

Function runInstaller

test/install-script.test.ts:9–14  ·  view source on GitHub ↗
(env: Record<string, string> = {})

Source from the content-addressed store, hash-verified

7const SCRIPT = path.resolve(process.cwd(), 'install.sh');
8
9function 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
16describe('install.sh (dry-run)', () => {
17 it('parses without syntax errors', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected