()
| 13 | import {waitFor} from './utils'; |
| 14 | |
| 15 | export 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 | |
| 27 | async function runCleanStateTest(workspaceRoot: string) { |
| 28 | const testFilePath = path.join(workspaceRoot, 'diagnostics_clean_test.ts'); |
nothing calls this directly
no test coverage detected