Skip to content

Commit

Permalink
test: update badge test case of className
Browse files Browse the repository at this point in the history
  • Loading branch information
pointhalo committed May 29, 2024
1 parent c91018b commit 3e923be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/semi-ui/badge/__test__/badge.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('badge', () => {
}
let badge = getBadge(props);
expect(badge.hasClass('test')).toEqual(true);
expect(badge.find('span.test')).toHaveStyle('color', 'red');
expect(badge.find('.test')).toHaveStyle('color', 'red');
badge.unmount();
});

Expand Down

0 comments on commit 3e923be

Please sign in to comment.