We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9d0dd commit 7eb534cCopy full SHA for 7eb534c
src/lib/list/list.spec.ts
@@ -115,7 +115,7 @@ describe('MatList', () => {
115
116
let list = fixture.debugElement.children[0];
117
let listItem = fixture.debugElement.children[0].query(By.css('mat-list-item'));
118
- expect(list.nativeElement.getAttribute('role')).toBe('list');
+ expect(list.nativeElement.getAttribute('role')).toBeNull();
119
expect(listItem.nativeElement.getAttribute('role')).toBe('listitem');
120
});
121
0 commit comments