From 0201061935dd0bb8f93c34092d78be47568e5444 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Fri, 29 Sep 2023 11:16:20 +0000 Subject: [PATCH] test(@angular/cli): remove Safari 15 test Safari v15 is longer included in the default browserlist configuration of CLI apps. (cherry picked from commit 59a4b009fca577e9d481d171f627daacb95ad8f1) --- .../e2e/tests/misc/safari-15-class-properties.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/legacy-cli/e2e/tests/misc/safari-15-class-properties.ts b/tests/legacy-cli/e2e/tests/misc/safari-15-class-properties.ts index ef9b42b85b11..50f0cc952a24 100644 --- a/tests/legacy-cli/e2e/tests/misc/safari-15-class-properties.ts +++ b/tests/legacy-cli/e2e/tests/misc/safari-15-class-properties.ts @@ -28,13 +28,6 @@ export default async function () { // - static #_ = this.ecmp = bla const staticIndicatorRegex = /static\s+(\{|#[_\d]+\s+=)/; - await ng('build', '--configuration=development'); - await expectFileToExist('dist/test-project/main.js'); - const mainContent = await readFile('dist/test-project/main.js'); - // TODO: This default cause can be removed in the future when Safari v15 - // is longer included in the default browserlist configuration of CLI apps. - assert.doesNotMatch(mainContent, staticIndicatorRegex, unexpectedStaticFieldErrorMessage); - await writeFile('.browserslistrc', 'last 1 chrome version'); await ng('build', '--configuration=development'); await expectFileToExist('dist/test-project/main.js');