We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc37006 commit dee8d58Copy full SHA for dee8d58
src/material/timepicker/timepicker.spec.ts
@@ -1133,11 +1133,11 @@ describe('MatTimepicker', () => {
1133
expect(toggle.getAttribute('aria-expanded')).toBe('true');
1134
});
1135
1136
- it('should be able to set aria-label on the button', () => {
+ it('should be able to set custom aria-label on the button', () => {
1137
const fixture = TestBed.createComponent(StandaloneTimepicker);
1138
const toggle = getToggle(fixture);
1139
fixture.detectChanges();
1140
- expect(toggle.hasAttribute('aria-label')).toBe(false);
+ expect(toggle.hasAttribute('aria-label')).toBe(true);
1141
1142
fixture.componentInstance.toggleAriaLabel.set('Toggle the timepicker');
1143
0 commit comments