MCPcopy Create free account
hub / github.com/angular/angular / run

Function run

ngp-vscode-ng-language-service/e2e/src/diagnostics.ts:15–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13import {waitFor} from './utils';
14
15export async function run() {
16 const workspaceRoot = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath;
17 if (!workspaceRoot) {
18 throw new Error('No workspace root found');
19 }
20
21 await runCleanStateTest(workspaceRoot);
22 await runSingleDiagnosticTest(workspaceRoot);
23 await runMultipleDiagnosticsTest(workspaceRoot);
24 await runDiagnosticsSideFileTest(workspaceRoot);
25}
26
27async function runCleanStateTest(workspaceRoot: string) {
28 const testFilePath = path.join(workspaceRoot, 'diagnostics_clean_test.ts');

Callers

nothing calls this directly

Calls 4

runCleanStateTestFunction · 0.85
runSingleDiagnosticTestFunction · 0.85

Tested by

no test coverage detected