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 d9261c4 commit 06f333bCopy full SHA for 06f333b
tests/unit/components/pagination.test.ts
@@ -109,13 +109,13 @@ test('pagination - number button click', async () => {
109
expect(button3).not.toHaveClass('is-disabled');
110
});
111
112
-test('shows no controls', () => {
+test('shows no active controls', () => {
113
const { queryByLabelText } = render(Pagination, {
114
limit: 25,
115
offset: 0,
116
sum: 10
117
118
119
- expect(queryByLabelText('prev page')).not.toBeInTheDocument();
120
- expect(queryByLabelText('next page')).not.toBeInTheDocument();
+ expect(queryByLabelText('prev page')).toHaveClass('is-disabled');
+ expect(queryByLabelText('next page')).toHaveClass('is-disabled');
121
0 commit comments