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

Function captureLiveArtifacts

bin/mcp-server.js:443–450  ·  view source on GitHub ↗
(prefix = 'pause')

Source from the content-addressed store, hash-verified

441}
442
443async function captureLiveArtifacts(prefix = 'pause') {
444 const helper = pickActingHelper(container.helpers())
445 if (!helper) return {}
446 const dir = snapshotDirFor(outputBaseDir())
447 mkdirp.sync(dir)
448 const captured = await captureSnapshot(helper, { dir, prefix })
449 return artifactsToFileUrls(captured, dir)
450}
451
452async function gatherPageBrief() {
453 const helper = pickActingHelper(container.helpers())

Callers

nothing calls this directly

Calls 6

pickActingHelperFunction · 0.90
snapshotDirForFunction · 0.90
captureSnapshotFunction · 0.90
artifactsToFileUrlsFunction · 0.90
outputBaseDirFunction · 0.85
helpersMethod · 0.80

Tested by

no test coverage detected