MCPcopy
hub / github.com/angular/angular / expectNoDiagnosticsInProgram

Function expectNoDiagnosticsInProgram

packages/compiler-cli/test/test_support.ts:164–170  ·  view source on GitHub ↗
(options: ng.CompilerOptions, p: ng.Program)

Source from the content-addressed store, hash-verified

162}
163
164export function expectNoDiagnosticsInProgram(options: ng.CompilerOptions, p: ng.Program) {
165 expectNoDiagnostics(options, [
166 ...p.getNgStructuralDiagnostics(),
167 ...p.getTsSemanticDiagnostics(),
168 ...p.getNgSemanticDiagnostics(),
169 ]);
170}
171
172export function normalizeSeparators(path: string): string {
173 return path.replace(/\\/g, '/');

Callers

nothing calls this directly

Calls 4

expectNoDiagnosticsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…