fix(ivy): mark query test as modified in Ivy (#28660)

Due to the fact that host nodes no longer match in ContentChild queries in Ivy, we disable test that was enabled previously in other commit.

PR Close #28660
This commit is contained in:
Andrew Kushnir 2019-02-12 09:52:20 -08:00 committed by Miško Hevery
parent 0957d8cb3f
commit 0cb02d906e
1 changed files with 11 additions and 8 deletions

View File

@ -270,14 +270,17 @@ describe('Query API', () => {
});
describe('read a different token', () => {
it('should contain all content children', () => {
modifiedInIvy('Host nodes no longer match in ContentChild queries in Ivy')
.it('should contain all content children', () => {
const template =
'<needs-content-children-read #q text="ca"><div #q text="cb"></div></needs-content-children-read>';
const view = createTestCmpAndDetectChanges(MyComp0, template);
const comp: NeedsContentChildrenWithRead =
view.debugElement.children[0].injector.get(NeedsContentChildrenWithRead);
expect(comp.textDirChildren.map(textDirective => textDirective.text)).toEqual(['ca', 'cb']);
expect(comp.textDirChildren.map(textDirective => textDirective.text)).toEqual([
'ca', 'cb'
]);
});
it('should contain the first content child', () => {