@@ -27,17 +27,15 @@ export default async function () {
27
27
`loadChildren: () => import('./lazy/lazy.module').then(m => m.LazyModule)` ) ;
28
28
// Should update tsconfig and src/browserslist via differential-loading.
29
29
await expectFileToMatch ( 'tsconfig.json' , `"target": "es2015",` ) ;
30
- await expectFileToMatch ( 'browserslist' , `\nChrome 41` ) ;
31
30
await expectToFail ( ( ) => expectFileToExist ( 'e2e/browserlist' ) ) ;
32
31
// Should update the build-angular version.
33
32
await expectFileToMatch ( 'package.json' , `"@angular-devkit/build-angular": "~0.8` ) ;
34
33
// Should rename codelyzer rules.
35
34
await expectFileToMatch ( 'tslint.json' , `use-lifecycle-interface` ) ;
36
35
// Unnecessary es6 polyfills should be removed via drop-es6-polyfills.
37
- // TODO: uncomment after https://github.com/angular/angular-cli/issues/14234 is fixed.
38
- // await expectToFail(() => expectFileToMatch('src/polyfills.ts',
39
- // `import 'core-js/es6/symbol';`));
40
- // await expectToFail(() => expectFileToMatch('src/polyfills.ts', `import 'core-js/es6/set';`));
36
+ await expectToFail ( ( ) => expectFileToMatch ( 'src/polyfills.ts' ,
37
+ `import 'core-js/es6/symbol';` ) ) ;
38
+ await expectToFail ( ( ) => expectFileToMatch ( 'src/polyfills.ts' , `import 'core-js/es6/set';` ) ) ;
41
39
42
40
// Use the packages we are building in this commit, and CI Chrome.
43
41
await useBuiltPackages ( ) ;
0 commit comments