MCPcopy Create free account
hub / github.com/garrytan/gstack / runConfig

Function runConfig

test/docs-config-keys.test.ts:49–55  ·  view source on GitHub ↗
(args: string[], tmpHome: string)

Source from the content-addressed store, hash-verified

47}
48
49function runConfig(args: string[], tmpHome: string) {
50 return spawnSync(CONFIG_BIN, args, {
51 encoding: 'utf-8',
52 env: { ...process.env, HOME: tmpHome, GSTACK_HOME: tmpHome },
53 timeout: 5000,
54 });
55}
56
57describe('docs ↔ gstack-config key drift guard', () => {
58 test('docs/ references at least one config key (smoke)', () => {

Callers 1

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected