File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
packages/schematics/angular/application/files/root
tests/legacy-cli/e2e/tests/experimental Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 99 "**/*.spec.ts"
1010 ]<% if (experimentalIvy) { %>,
1111 "angularCompilerOptions": {
12- "enableIvy": "ngtsc"
12+ "enableIvy": true
1313 }<% } %>
1414}
Original file line number Diff line number Diff line change 55 * Use of this source code is governed by an MIT-style license that can be
66 * found in the LICENSE file at https://angular.io/license
77 */
8+ import { getGlobalVariable } from '../../utils/env' ;
89import { request } from '../../utils/http' ;
910import { killAllProcesses } from '../../utils/process' ;
1011import { createProject , ngServe } from '../../utils/project' ;
1112
1213export default async function ( ) {
14+ const argv = getGlobalVariable ( 'argv' ) ;
15+ if ( ! argv [ 'ng-snapshots' ] ) {
16+ // Only run this test on 8.x versions of Angular, which are currently only on snapshots.
17+ return ;
18+ }
1319 try {
1420 await createProject ( 'ivy-project' , '--experimental-ivy' ) ;
1521
You can’t perform that action at this time.
0 commit comments