MCPcopy
hub / github.com/affaan-m/ECC / runProcess

Function runProcess

tests/scripts/preview-pack-smoke.test.js:112–119  ·  view source on GitHub ↗
(args = [], options = {})

Source from the content-addressed store, hash-verified

110}
111
112function runProcess(args = [], options = {}) {
113 return spawnSync('node', [SCRIPT, ...args], {
114 cwd: options.cwd || path.join(__dirname, '..', '..'),
115 encoding: 'utf8',
116 stdio: ['pipe', 'pipe', 'pipe'],
117 timeout: 10000,
118 });
119}
120
121function test(name, fn) {
122 try {

Callers 1

runTestsFunction · 0.70

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected