fix(ivy): register to directive outputs on ng-template / ng-container (#25698)
Runtime part of #25697 PR Close #25698
This commit is contained in:

committed by
Misko Hevery

parent
3809e0fcae
commit
371df35624
@ -862,25 +862,6 @@ describe('render3 integration test', () => {
|
||||
expect(fixture.html).toEqual('<div></div>');
|
||||
});
|
||||
|
||||
it('should throw when trying to add event listener', () => {
|
||||
/**
|
||||
* <div><ng-container (click)="..."></ng-container></div>
|
||||
*/
|
||||
function Template() {
|
||||
elementStart(0, 'div');
|
||||
{
|
||||
elementContainerStart(1);
|
||||
{
|
||||
listener('click', function() {});
|
||||
}
|
||||
elementContainerEnd();
|
||||
}
|
||||
elementEnd();
|
||||
}
|
||||
|
||||
expect(() => { new TemplateFixture(Template, () => {}, 2); }).toThrow();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('tree', () => {
|
||||
|
Reference in New Issue
Block a user