MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / run

Function run

test/runner/codeceptq_test.js:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16const dragHtml = path.join(__dirname, '/../data/app/drag_drop.html')
17
18const run = args =>
19 new Promise(resolve => {
20 exec(`node ${runner} ${args}`, (err, stdout, stderr) => {
21 resolve({ err, stdout, stderr, code: err ? err.code || 1 : 0 })
22 })
23 })
24
25const runJson = async args => {
26 const r = await run(`${args} --json`)

Callers 3

runJsonFunction · 0.85
codeceptq_test.jsFile · 0.85
bdd_test.jsFile · 0.85

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected