Skip to content

Commit 04b0637

Browse files
committed
fix(cdk/a11y): fix tests
1 parent a0c5ffc commit 04b0637

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/cdk/a11y/key-manager/tree-key-manager.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ describe('TreeKeyManager', () => {
138138
parent2._children = [parent2Child1];
139139
parent2Child1._parent = parent2;
140140

141+
parentItem = parent1;
142+
childItem = parent1Child1;
143+
childItemWithNoChildren = parent1Child2;
144+
lastItem = parent2Child1;
145+
141146
itemList.reset([
142147
parent1,
143148
parent1Child1,

0 commit comments

Comments
 (0)