test(ivy): add i18n integration tests via TestBed (#27852)
PR Close #27852
This commit is contained in:

committed by
Kara Erickson

parent
ac5f5ed0a6
commit
4613864fc8
@ -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>
|
||||
|
Reference in New Issue
Block a user