MCPcopy
hub / github.com/vercel/next.js / readFile

Method readFile

test/lib/next-modes/base.ts:698–700  ·  view source on GitHub ↗
(filename: string)

Source from the content-addressed store, hash-verified

696 }
697
698 public async readFile(filename: string) {
699 return fs.readFile(path.join(this.testDir, filename), 'utf8')
700 }
701
702 public async readFileBuffer(
703 filename: string

Callers 15

patchFileMethod · 0.95
mainFunction · 0.45
runTestFunction · 0.45
readFileFunction · 0.45
readFileFunction · 0.45
input.jsFile · 0.45
getMethod · 0.45
updatePassingTestsFunction · 0.45
test.jsFile · 0.45
index.test.tsFile · 0.45
index.test.tsFile · 0.45
runTestsFunction · 0.45

Calls 1

joinMethod · 0.45

Tested by 15

runTestsFunction · 0.36
runTestsFunction · 0.36
getBuildIdFunction · 0.36
uncommentExportFunction · 0.36
getBuildIdFunction · 0.36
runTestsFunction · 0.36
getBuildIdFunction · 0.36
runTestsFunction · 0.36
runTestsFunction · 0.36
runSoloTestsFunction · 0.36
runTestsFunction · 0.36
runTestsFunction · 0.36