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 c519687 commit 12f299bCopy full SHA for 12f299b
tests/index.test.tsx
@@ -251,8 +251,14 @@ describe('Other props', () => {
251
/>,
252
);
253
const item = container.querySelector('.rc-pagination-item');
254
+ const prev = container.querySelector('.rc-pagination-prev');
255
+ const next = container.querySelector('.rc-pagination-next');
256
expect(item).toHaveClass('custom-test');
257
+ expect(prev).toHaveClass('custom-test');
258
+ expect(next).toHaveClass('custom-test');
259
expect(item).toHaveStyle('color: red');
260
+ expect(prev).toHaveStyle('color: red');
261
+ expect(next).toHaveStyle('color: red');
262
});
263
it('should support custom default icon', () => {
264
const nextIcon = () => <span>nextIcon</span>;
0 commit comments