Skip to content

Commit

Permalink
fix(material/paginator): fix unit tests
Browse files Browse the repository at this point in the history
fix unit tests

fixes b/286098030
  • Loading branch information
DBowen33 committed Sep 19, 2024
1 parent 14b5b7e commit b8fd8e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/material/paginator/paginator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,10 +529,10 @@ describe('MatPaginator', () => {
fixture.detectChanges();

expect(select.disabled).toBe(true);
expect(getPreviousButton(fixture).hasAttribute('disabled')).toBe(false);
expect(getNextButton(fixture).hasAttribute('disabled')).toBe(false);
expect(getFirstButton(fixture).hasAttribute('disabled')).toBe(false);
expect(getLastButton(fixture).hasAttribute('disabled')).toBe(false);
expect(getPreviousButton(fixture).hasAttribute('aria-disabled')).toBe(true);
expect(getNextButton(fixture).hasAttribute('aria-disabled')).toBe(true);
expect(getFirstButton(fixture).hasAttribute('aria-disabled')).toBe(true);
expect(getLastButton(fixture).hasAttribute('aria-disabled')).toBe(true);
});

it('should be able to configure the default options via a provider', () => {
Expand Down

0 comments on commit b8fd8e8

Please sign in to comment.