Skip to content

Commit 0bacb6b

Browse files
clydinalan-agius4
authored andcommitted
test: uninstall @angular/localize after extraction E2E tests
1 parent 5e24bae commit 0bacb6b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/legacy-cli/e2e/tests/i18n/extract-ivy-libraries.ts

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ export default async function() {
6565
await expectFileToMatch('messages.xlf', 'Hello world');
6666
await expectFileToMatch('messages.xlf', 'i18n-lib-test works!');
6767

68+
await npm('uninstall', '@angular/localize');
69+
6870
// TODO: Investigate failures on Windows and remove this check
6971
if (process.platform === 'win32') {
7072
return;

tests/legacy-cli/e2e/tests/i18n/extract-ivy.ts

+2
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,6 @@ export default async function() {
6363
if (!message4.includes(`Ivy extraction enabled but application is not Ivy enabled.`)) {
6464
throw new Error('Expected ivy disabled application warning');
6565
}
66+
67+
await npm('uninstall', '@angular/localize');
6668
}

0 commit comments

Comments
 (0)