Skip to content

Commit

Permalink
test: fix e2e i18n test
Browse files Browse the repository at this point in the history
  • Loading branch information
hansl committed Apr 3, 2018
1 parent cb4a02c commit 4b5a6e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/tests/i18n/extract-default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export default function() {
join('src/app/i18n-test', 'i18n-test.component.html'),
'<p i18n>Hello world</p>'))
.then(() => ng('xi18n'))
.then(() => expectFileToExist(join('projects/test-project', 'messages.xlf')))
.then(() => expectFileToMatch(join('projects/test-project', 'messages.xlf'), /Hello world/));
.then(() => expectFileToExist(join('src', 'messages.xlf')))
.then(() => expectFileToMatch(join('src', 'messages.xlf'), /Hello world/));
}

0 comments on commit 4b5a6e0

Please sign in to comment.