MCPcopy
hub / github.com/codeceptjs/CodeceptJS / amInPath

Method amInPath

lib/helper/FileSystem.js:55–63  ·  view source on GitHub ↗

* Enters a directory In local filesystem. * Starts from a current directory * @param {string} openPath

(openPath)

Source from the content-addressed store, hash-verified

53 * @param {string} openPath
54 */
55 amInPath(openPath) {
56 this.dir = path.join(store.codeceptDir, openPath)
57 try {
58 this.debugSection('Dir', this.dir)
59 } catch (e) {
60 // Fallback debug for ESM transition
61 console.log(`[Dir] ${this.dir}`)
62 }
63 }
64
65 /**
66 * Writes text to file

Callers 15

fs_test.glob.jsFile · 0.80
fs_test.jsFile · 0.80
fs_test_failed.jsFile · 0.80
openDirFunction · 0.80
openPageMethod · 0.80
openPageTsMethod · 0.80
openDirFunction · 0.80
failed_test.jsFile · 0.80
fs_test.jsFile · 0.80

Calls 1

logMethod · 0.80

Tested by

no test coverage detected