test(ivy): add i18n integration tests via TestBed (#27852)

PR Close #27852
This commit is contained in:
Andrew Kushnir
2018-12-26 17:36:26 -08:00
committed by Kara Erickson
parent ac5f5ed0a6
commit 4613864fc8
4 changed files with 493 additions and 14 deletions

View File

@ -389,7 +389,7 @@ describe('i18n support in the view compiler', () => {
it('should correctly bind to context in nested template', () => {
const input = `
<div *ngFor="let outer of items">
<div i18n-title="m|d" title="different scope {{ outer | uppercase }}">
<div i18n-title="m|d" title="different scope {{ outer | uppercase }}"></div>
</div>
`;
@ -518,7 +518,7 @@ describe('i18n support in the view compiler', () => {
it('should correctly bind to context in nested template', () => {
const input = `
<div *ngFor="let outer of items">
<div i18n-title="m|d" title="different scope {{ outer | uppercase }}">
<div i18n-title="m|d" title="different scope {{ outer | uppercase }}"></div>
</div>
`;
@ -1347,7 +1347,7 @@ describe('i18n support in the view compiler', () => {
verify(input, output);
});
it('should be able to be child elements inside i18n block', () => {
it('should be able to act as child elements inside i18n block', () => {
const input = `
<div i18n>
<ng-template>Template content: {{ valueA | uppercase }}</ng-template>