test(ivy): mark changed behaviour for queries and ng-container (#27977)
PR Close #27977
This commit is contained in:
parent
4b5b1f6d16
commit
aaa97f11d7
|
@ -11,7 +11,7 @@ import {AfterContentInit, AfterViewInit, Component, ContentChildren, Directive,
|
||||||
import {TestBed} from '@angular/core/testing';
|
import {TestBed} from '@angular/core/testing';
|
||||||
import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter';
|
import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter';
|
||||||
import {expect} from '@angular/platform-browser/testing/src/matchers';
|
import {expect} from '@angular/platform-browser/testing/src/matchers';
|
||||||
import {fixmeIvy, modifiedInIvy, polyfillGoogGetMsg} from '@angular/private/testing';
|
import {modifiedInIvy, polyfillGoogGetMsg} from '@angular/private/testing';
|
||||||
|
|
||||||
if (ivyEnabled) {
|
if (ivyEnabled) {
|
||||||
describe('ivy', () => { declareTests(); });
|
describe('ivy', () => { declareTests(); });
|
||||||
|
@ -136,7 +136,7 @@ function declareTests(config?: {useJit: boolean}) {
|
||||||
expect(dir.text).toEqual('container');
|
expect(dir.text).toEqual('container');
|
||||||
});
|
});
|
||||||
|
|
||||||
fixmeIvy('FW-795: Queries with descendants: true don\'t descent into <ng-container>')
|
modifiedInIvy('Queries with descendants: true don\'t descent into <ng-container>')
|
||||||
.it('should contain all direct child directives in a <ng-container> (content dom)', () => {
|
.it('should contain all direct child directives in a <ng-container> (content dom)', () => {
|
||||||
const template =
|
const template =
|
||||||
'<needs-content-children #q><ng-container><div text="foo"></div></ng-container></needs-content-children>';
|
'<needs-content-children #q><ng-container><div text="foo"></div></ng-container></needs-content-children>';
|
||||||
|
|
Loading…
Reference in New Issue