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

Function runJson

test/runner/codeceptq_test.js:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 })
24
25const runJson = async args => {
26 const r = await run(`${args} --json`)
27 let parsed = null
28 try {
29 parsed = JSON.parse(r.stdout)
30 } catch {
31 /* leave parsed null */
32 }
33 return { ...r, parsed }
34}
35
36const runWithStdin = (args, html) => {
37 try {

Callers 1

codeceptq_test.jsFile · 0.85

Calls 1

runFunction · 0.85

Tested by

no test coverage detected