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

Function isRunnableTestFile

src/extension/utils.ts:113–115  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

111// Similar to isTestFile, but requires that the file is _test.dart because it will be used as
112// an entry point for pub test running.
113export function isRunnableTestFile(file: string): boolean {
114 return !!file && file.toLowerCase().endsWith("_test.dart") && isDartFile(file);
115}
116
117export function isTestFolder(path: string | undefined): boolean {
118 return !!path

Callers

nothing calls this directly

Calls 1

isDartFileFunction · 0.85

Tested by

no test coverage detected