mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
fix icon test coverage
This commit is contained in:
parent
2f8a56fa78
commit
52f162533c
@ -47,6 +47,7 @@ describe('Icon', () => {
|
||||
it('should support config global two-tone primary color', () => {
|
||||
const colors = ReactIcon.getTwoToneColors();
|
||||
Icon.setTwoToneColor('#1890ff');
|
||||
expect(Icon.getTwoToneColor()).toBe('#1890ff');
|
||||
const wrapper = render(
|
||||
<Icon type="check-circle" theme="twoTone" />
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user