()
| 146 | } |
| 147 | |
| 148 | export function setup(): TestSupport { |
| 149 | // // `TestSupport` provides its own file-system abstraction so we just use |
| 150 | // // the native `NodeJSFileSystem` under the hood. |
| 151 | setFileSystem(new NodeJSFileSystem()); |
| 152 | const tmpDirPath = makeTempDir(); |
| 153 | setupBazelTo(tmpDirPath); |
| 154 | return createTestSupportFor(tmpDirPath); |
| 155 | } |
| 156 | |
| 157 | export function expectNoDiagnostics(options: ng.CompilerOptions, diags: readonly ts.Diagnostic[]) { |
| 158 | const errorDiags = diags.filter((d) => d.category !== ts.DiagnosticCategory.Message); |
no test coverage detected
searching dependent graphs…