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

Method remove

test/lib/next-modes/base.ts:738–743  ·  view source on GitHub ↗
(fileOrDirPath: string)

Source from the content-addressed store, hash-verified

736 }
737
738 public async remove(fileOrDirPath: string) {
739 await fs.rm(path.join(this.testDir, fileOrDirPath), {
740 recursive: true,
741 force: true,
742 })
743 }
744
745 public async patchFile(
746 filename: string,

Callers 15

index.test.tsFile · 0.45
index.test.tsFile · 0.45
index.test.tsFile · 0.45
index.test.tsFile · 0.45
gsp-gssp.test.tsFile · 0.45
runTestsFunction · 0.45
index.test.tsFile · 0.45
index.test.tsFile · 0.45
index.test.tsFile · 0.45
runTestsFunction · 0.45
index.test.tsFile · 0.45
config.test.tsFile · 0.45

Calls 1

joinMethod · 0.45

Tested by 11

runTestsFunction · 0.36
runTestsFunction · 0.36
removeRootMiddlewareFunction · 0.36
runTestsFunction · 0.36
removeRootMiddlewareFunction · 0.36
checkMissingFunction · 0.36
runTestsFunction · 0.36
cleanUpFunction · 0.36
patchFileReadOnlyFunction · 0.36
setupNextFunction · 0.36
setupNextFunction · 0.36