Skip to content

Commit

Permalink
test: uninstall @angular/localize after extraction E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clydin authored and alan-agius4 committed Sep 25, 2020
1 parent 5e24bae commit 0bacb6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/legacy-cli/e2e/tests/i18n/extract-ivy-libraries.ts
Expand Up @@ -65,6 +65,8 @@ export default async function() {
await expectFileToMatch('messages.xlf', 'Hello world');
await expectFileToMatch('messages.xlf', 'i18n-lib-test works!');

await npm('uninstall', '@angular/localize');

// TODO: Investigate failures on Windows and remove this check
if (process.platform === 'win32') {
return;
Expand Down
2 changes: 2 additions & 0 deletions tests/legacy-cli/e2e/tests/i18n/extract-ivy.ts
Expand Up @@ -63,4 +63,6 @@ export default async function() {
if (!message4.includes(`Ivy extraction enabled but application is not Ivy enabled.`)) {
throw new Error('Expected ivy disabled application warning');
}

await npm('uninstall', '@angular/localize');
}

0 comments on commit 0bacb6b

Please sign in to comment.