Skip to content

Commit cc663c8

Browse files
committed
fix: coverage
1 parent bcd5422 commit cc663c8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

tests/__snapshots__/demo.test.tsx.snap

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3786,7 +3786,7 @@ exports[`Example sizer 1`] = `
37863786
>
37873787
<div
37883788
aria-label="页码"
3789-
class="rc-select rc-pagination-options-size-changer rc-select-single"
3789+
class="rc-select rc-pagination-options-size-changer rc-select-single rc-select-show-search"
37903790
>
37913791
<div
37923792
class="rc-select-selector"
@@ -3804,11 +3804,8 @@ exports[`Example sizer 1`] = `
38043804
autocomplete="off"
38053805
class="rc-select-selection-search-input"
38063806
id="rc_select_TEST_OR_SSR"
3807-
readonly=""
38083807
role="combobox"
3809-
style="opacity: 0;"
38103808
type="search"
3811-
unselectable="on"
38123809
value=""
38133810
/>
38143811
</span>

tests/options.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const WrapperOptions: React.FC<any> = (props) => (
1010
rootPrefixCls="rc-pagination"
1111
selectComponentClass={Select}
1212
pageSize={10}
13-
changeSize={jest.fn()}
13+
onChange={jest.fn()}
1414
quickGo={jest.fn()}
1515
{...props}
1616
/>

0 commit comments

Comments
 (0)