Skip to content

Commit 22b39b2

Browse files
author
刘欢
committed
feat:修改对应的单测
1 parent a09d645 commit 22b39b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/index.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ describe('Overflow.Basic', () => {
5656
const wrapper = mount(
5757
<Overflow
5858
data={testData}
59-
renderItem={(item) => {
60-
return `${item.label}-${item.index}-test`;
59+
renderItem={(item,info) => {
60+
return `${item.label}-${info.index}-test`;
6161
}}
6262
/>,
6363
);

0 commit comments

Comments
 (0)