test(ivy): update TNode counts to reflect changes in #24113 (#24208)

After #24113 there is 2 `TNode` in those tests:
- 1 for the host,
- 1 for the text node.

The PR #23924 status was green because it branched off master before #24113 was
merged in.

PR Close #24208
This commit is contained in:
Victor Berchet 2018-05-30 13:53:48 -07:00
parent 2a78d5e6fe
commit c917e5b5bb
1 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@ describe('render3 integration test', () => {
expect(renderToHtml(Template, undefined)).toEqual('');
expect(ngDevMode).toHaveProperties({
firstTemplatePass: 0,
tNode: 0,
tNode: 2,
tView: 1,
rendererSetText: 2,
});
@ -90,7 +90,7 @@ describe('render3 integration test', () => {
expect(renderToHtml(Template, null)).toEqual('');
expect(ngDevMode).toHaveProperties({
firstTemplatePass: 0,
tNode: 0,
tNode: 2,
tView: 1,
rendererSetText: 2,
});
@ -109,7 +109,7 @@ describe('render3 integration test', () => {
expect(renderToHtml(Template, 'twice')).toEqual('once');
expect(ngDevMode).toHaveProperties({
firstTemplatePass: 0,
tNode: 0,
tNode: 2,
tView: 1,
rendererSetText: 1,
});