MCPcopy 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
361export const relativeDir = function (fileName) {
362 return fileName.replace(store.codeceptDir, '').replace(/^\//, '')
363}
364
365export const beautify = function (code) {
366 const format = jsBeautify.js

Callers 1

saveScreenshotMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected