Skip to content

Commit 780415d

Browse files
committed
test: fix test
1 parent 253d9aa commit 780415d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/options.test.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
import { render } from '@testing-library/react';
2-
import Select from 'rc-select';
2+
// import Select from 'rc-select';
33
import zhCN from '../src/locale/zh_CN';
44
import Options from '../src/Options';
55
import * as React from 'react';
6+
import { sizeChangerRender } from './commonUtil';
67

78
const WrapperOptions: React.FC<any> = (props) => (
89
<Options
910
locale={zhCN}
1011
rootPrefixCls="rc-pagination"
11-
selectComponentClass={Select}
12+
// selectComponentClass={Select}
13+
sizeChangerRender={sizeChangerRender}
1214
pageSize={10}
1315
changeSize={jest.fn()}
1416
quickGo={jest.fn()}

0 commit comments

Comments
 (0)