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

Function fileToUrl

lib/utils/trace.js:67–69  ·  view source on GitHub ↗
(dir, basename)

Source from the content-addressed store, hash-verified

65}
66
67export function fileToUrl(dir, basename) {
68 return pathToFileURL(path.join(dir, basename)).href
69}
70
71export function writeTraceMarkdown({ dir, title, file, durationMs, commands, captured, error }) {
72 let md = `file: ${file || 'mcp'}\n`

Callers 2

trace_test.jsFile · 0.90
artifactsToFileUrlsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected