Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codeceptjs/CodeceptJS
/ relativeDir
Function
relativeDir
lib/utils.js:361–363 ·
view source on GitHub ↗
(fileName)
Source
from the content-addressed store, hash-verified
359
}
360
361
export
const
relativeDir =
function
(fileName) {
362
return
fileName.replace(store.codeceptDir,
''
).replace(/^\
//, '')
363
}
364
365
export
const
beautify =
function
(code) {
366
const
format = jsBeautify.js
Callers
1
saveScreenshot
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected