Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Dec 10, 2024
1 parent 253d9aa commit 780415d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/options.test.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { render } from '@testing-library/react';
import Select from 'rc-select';
// import Select from 'rc-select';
import zhCN from '../src/locale/zh_CN';
import Options from '../src/Options';
import * as React from 'react';
import { sizeChangerRender } from './commonUtil';

const WrapperOptions: React.FC<any> = (props) => (
<Options
locale={zhCN}
rootPrefixCls="rc-pagination"
selectComponentClass={Select}
// selectComponentClass={Select}
sizeChangerRender={sizeChangerRender}
pageSize={10}
changeSize={jest.fn()}
quickGo={jest.fn()}
Expand Down

0 comments on commit 780415d

Please sign in to comment.