(overrideOptions: ng.CompilerOptions = {})
| 25 | }); |
| 26 | |
| 27 | function createConfig(overrideOptions: ng.CompilerOptions = {}): ng.ParsedConfiguration { |
| 28 | const options = testSupport.createCompilerOptions({outDir, ...overrideOptions}); |
| 29 | return { |
| 30 | options, |
| 31 | rootNames: [path.resolve(testSupport.basePath, 'src/index.ts')], |
| 32 | project: path.resolve(testSupport.basePath, 'src/tsconfig.json'), |
| 33 | emitFlags: ng.EmitFlags.Default, |
| 34 | errors: [], |
| 35 | }; |
| 36 | } |
| 37 | |
| 38 | it('should compile files during the initial run', () => { |
| 39 | const config = createConfig(); |
no test coverage detected
searching dependent graphs…