Skip to content

Commit 2229087

Browse files
committed
fix(material/tree): reworked unit tests
reworked unit tests for new tree configuration with aria-expanded Fixes #21922
1 parent a4a8910 commit 2229087

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cdk/tree/tree.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ describe('CdkTree', () => {
143143
dataSource.addChild(data[2]);
144144
fixture.detectChanges();
145145
let ariaExpandedStates = getNodes(treeElement).map(n => n.getAttribute('aria-expanded'));
146-
console.log(ariaExpandedStates);
147-
expect(ariaExpandedStates).toEqual([null, null, 'false', null]);
146+
expect(ariaExpandedStates).toEqual([null, null, 'false']);
148147

149148
component.treeControl.expandAll();
150149
fixture.detectChanges();

0 commit comments

Comments
 (0)