fix(ivy): Run ChangeDetection on transplanted views (#33644)
https://hackmd.io/@mhevery/rJUJsvv9H Closes #33393 PR Close #33644
This commit is contained in:

committed by
Kara Erickson

parent
4ec079f852
commit
37ae45e2ec
@ -56,7 +56,7 @@ export function setupTestHarness(
|
||||
rendererFactory, renderer);
|
||||
const mockRCommentNode = renderer.createComment('');
|
||||
const lContainer =
|
||||
createLContainer(mockRCommentNode, hostLView, mockRCommentNode, tContainerNode, true);
|
||||
createLContainer(mockRCommentNode, hostLView, mockRCommentNode, tContainerNode);
|
||||
addToViewTree(hostLView, lContainer);
|
||||
|
||||
|
||||
|
@ -16,7 +16,7 @@ describe('view_utils', () => {
|
||||
const tView = createTView(TViewType.Root, 0, null, 0, 0, null, null, null, null, null);
|
||||
const lView = createLView(null, tView, {}, 0, div, null, {} as any, {} as any, null, null);
|
||||
const tNode = createTNode(null !, null, 3, 0, 'div', []);
|
||||
const lContainer = createLContainer(lView, lView, div, tNode, true);
|
||||
const lContainer = createLContainer(lView, lView, div, tNode);
|
||||
|
||||
expect(isLView(lView)).toBe(true);
|
||||
expect(isLView(lContainer)).toBe(false);
|
||||
|
Reference in New Issue
Block a user