MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / getTempTestFile

Function getTempTestFile

src/test/dart_debug/dart_cli.test.ts:71–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 return vs.Uri.file(path.join(fsPath(helloWorldFolder), "bin", fileName));
70 }
71 function getTempTestFile() {
72 const fileName = `temp-${getRandomInt(0x1000, 0x10000).toString(16)}.dart`;
73 return vs.Uri.file(path.join(fsPath(helloWorldFolder), "test", fileName));
74 }
75 it("and cancels launch if they click Show Errors", async () => {
76 await writeBrokenDartCodeIntoFileForTest(getTempProjectFile());
77

Callers 1

dart_cli.test.tsFile · 0.85

Calls 3

getRandomIntFunction · 0.90
fsPathFunction · 0.90
toStringMethod · 0.45

Tested by

no test coverage detected