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:
parent
0957d8cb3f
commit
0cb02d906e
|
@ -270,14 +270,17 @@ describe('Query API', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('read a different token', () => {
|
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 =
|
const template =
|
||||||
'<needs-content-children-read #q text="ca"><div #q text="cb"></div></needs-content-children-read>';
|
'<needs-content-children-read #q text="ca"><div #q text="cb"></div></needs-content-children-read>';
|
||||||
const view = createTestCmpAndDetectChanges(MyComp0, template);
|
const view = createTestCmpAndDetectChanges(MyComp0, template);
|
||||||
|
|
||||||
const comp: NeedsContentChildrenWithRead =
|
const comp: NeedsContentChildrenWithRead =
|
||||||
view.debugElement.children[0].injector.get(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', () => {
|
it('should contain the first content child', () => {
|
||||||
|
|
Loading…
Reference in New Issue