Skip to content

Commit

Permalink
test: max 测试用例补充
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Apr 23, 2024
1 parent 752b3c5 commit 75e89de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/avatar/__test__/index.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,7 @@ describe('avatar-group', async () => {
));
const avatarList = wrapper.findAllComponents(Avatar);
expect(avatarList.length).toBe(2);
expect(avatarList[0].find('img').exists()).toBeTruthy()
expect(avatarList[1].text()).toBe('+4');
});
});

0 comments on commit 75e89de

Please sign in to comment.