Skip to content

Commit 3abd87a

Browse files
clydinmgechev
authored andcommitted
test: update update-7.0 E2E to reflect 8.0-rc.4 changes
Chrome 41 is no longer added to browserslist and polyfills are now removed from unmodified polyfills.ts files
1 parent 3245794 commit 3abd87a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/legacy-cli/e2e/tests/basic/update-7.0.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,15 @@ export default async function () {
2727
`loadChildren: () => import('./lazy/lazy.module').then(m => m.LazyModule)`);
2828
// Should update tsconfig and src/browserslist via differential-loading.
2929
await expectFileToMatch('tsconfig.json', `"target": "es2015",`);
30-
await expectFileToMatch('browserslist', `\nChrome 41`);
3130
await expectToFail(() => expectFileToExist('e2e/browserlist'));
3231
// Should update the build-angular version.
3332
await expectFileToMatch('package.json', `"@angular-devkit/build-angular": "~0.8`);
3433
// Should rename codelyzer rules.
3534
await expectFileToMatch('tslint.json', `use-lifecycle-interface`);
3635
// 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';`));
4139

4240
// Use the packages we are building in this commit, and CI Chrome.
4341
await useBuiltPackages();

0 commit comments

Comments
 (0)