test(ivy): update //packages/compiler-cli tests for Ivy (#27301)

These tests are not relevant to Ivy:

//packages/compiler-cli/test/diagnostics:check_types
//packages/compiler-cli/test/diagnostics:expression_diagnostics
//packages/compiler-cli/test/transformers:test
//packages/compiler-cli/test:extract_i18n

The //packages/compiler-cli/test:ngtools_api test has 2 specs, one of
which passes and the other of which depends on ngtsc supporting lazy
routes. It's now disabled with fixmeIvy().

PR Close #27301
This commit is contained in:
Alex Rickabaugh
2018-11-27 12:30:46 -08:00
committed by Igor Minar
parent 140217546d
commit 49537458ea
5 changed files with 24 additions and 8 deletions

View File

@ -7,6 +7,7 @@
*/
import {__NGTOOLS_PRIVATE_API_2 as NgTools_InternalApi_NG_2} from '@angular/compiler-cli';
import {fixmeIvy} from '@angular/private/testing';
import * as path from 'path';
import * as ts from 'typescript';
@ -59,7 +60,7 @@ describe('ngtools_api (deprecated)', () => {
});
}
it('should list lazy routes recursively', () => {
fixmeIvy('FW-629: ngtsc lists lazy routes') && it('should list lazy routes recursively', () => {
writeSomeRoutes();
const {program, host, options} = createProgram(['src/main.ts']);
const routes = NgTools_InternalApi_NG_2.listLazyRoutes({