Skip to content

Commit

Permalink
Revert "test(material/timepicker): updates timepicker.spec.ts (angula…
Browse files Browse the repository at this point in the history
…r#30335)"

This reverts commit 0df6e03.
  • Loading branch information
mmalerba committed Jan 16, 2025
1 parent 5138fe7 commit 08e2a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/material/timepicker/timepicker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1133,11 +1133,11 @@ describe('MatTimepicker', () => {
expect(toggle.getAttribute('aria-expanded')).toBe('true');
});

it('should be able to set custom aria-label on the button', () => {
it('should be able to set aria-label on the button', () => {
const fixture = TestBed.createComponent(StandaloneTimepicker);
const toggle = getToggle(fixture);
fixture.detectChanges();
expect(toggle.hasAttribute('aria-label')).toBe(true);
expect(toggle.hasAttribute('aria-label')).toBe(false);

fixture.componentInstance.toggleAriaLabel.set('Toggle the timepicker');
fixture.detectChanges();
Expand Down

0 comments on commit 08e2a05

Please sign in to comment.