Skip to content

Commit 7336e61

Browse files
committed
fix: coverage
1 parent bcd5422 commit 7336e61

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

tests/__snapshots__/demo.test.tsx.snap

+1-4
Original file line numberDiff line numberDiff line change
@@ -3602,7 +3602,7 @@ exports[`Example sizer 1`] = `
36023602
>
36033603
<div
36043604
aria-label="页码"
3605-
class="rc-select rc-pagination-options-size-changer rc-select-single"
3605+
class="rc-select rc-pagination-options-size-changer rc-select-single rc-select-show-search"
36063606
>
36073607
<div
36083608
class="rc-select-selector"
@@ -3620,11 +3620,8 @@ exports[`Example sizer 1`] = `
36203620
autocomplete="off"
36213621
class="rc-select-selection-search-input"
36223622
id="rc_select_TEST_OR_SSR"
3623-
readonly=""
36243623
role="combobox"
3625-
style="opacity: 0;"
36263624
type="search"
3627-
unselectable="on"
36283625
value=""
36293626
/>
36303627
</span>

tests/options.test.tsx

+1-1
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)