Skip to content

Commit b717b24

Browse files
committed
feat: update test for limit
1 parent 124d7c9 commit b717b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/search.limit.spec.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('Cascader.Search', () => {
3939

4040
doSearch(wrapper, 'as');
4141
const itemList = wrapper.find('div.rc-cascader-menu-item-content');
42-
expect(itemList).toHaveLength(itemList.length);
42+
expect(itemList).toHaveLength(100);
4343
});
4444

4545
it('limit', () => {

0 commit comments

Comments
 (0)