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

Function getTempProjectFile

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

Source from the content-addressed store, hash-verified

65
66 describe("prompts the user if trying to run with errors", () => {
67 function getTempProjectFile() {
68 const fileName = `temp-${getRandomInt(0x1000, 0x10000).toString(16)}.dart`;
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));

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