MCPcopy Create free account
hub / github.com/angular/components / getProjectTestTargets

Function getProjectTestTargets

src/cdk/schematics/utils/project-targets.ts:46–48  ·  view source on GitHub ↗
(project: ProjectDefinition)

Source from the content-addressed store, hash-verified

44
45/** Gets all of the default CLI-provided testing targets in a project. */
46export function getProjectTestTargets(project: ProjectDefinition): TargetDefinition[] {
47 return getTargetsByBuilderName(project, builder => !!builder && TEST_BUILDERS.has(builder));
48}
49
50/** Gets all targets from the given project that pass a predicate check. */
51function getTargetsByBuilderName(

Callers 1

Calls 1

getTargetsByBuilderNameFunction · 0.85

Tested by

no test coverage detected