Skip to content

Commit 0201061

Browse files
committed
test(@angular/cli): remove Safari 15 test
Safari v15 is longer included in the default browserlist configuration of CLI apps. (cherry picked from commit 59a4b00)
1 parent 9333581 commit 0201061

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Diff for: tests/legacy-cli/e2e/tests/misc/safari-15-class-properties.ts

-7
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ export default async function () {
2828
// - static #_ = this.ecmp = bla
2929
const staticIndicatorRegex = /static\s+(\{|#[_\d]+\s+=)/;
3030

31-
await ng('build', '--configuration=development');
32-
await expectFileToExist('dist/test-project/main.js');
33-
const mainContent = await readFile('dist/test-project/main.js');
34-
// TODO: This default cause can be removed in the future when Safari v15
35-
// is longer included in the default browserlist configuration of CLI apps.
36-
assert.doesNotMatch(mainContent, staticIndicatorRegex, unexpectedStaticFieldErrorMessage);
37-
3831
await writeFile('.browserslistrc', 'last 1 chrome version');
3932
await ng('build', '--configuration=development');
4033
await expectFileToExist('dist/test-project/main.js');

0 commit comments

Comments
 (0)