Browse Source

update test case

pull/11999/head
HeskeyBaozi 6 years ago
committed by 偏右
parent
commit
1cee617a9d
  1. 2
      components/icon/__tests__/index.test.js

2
components/icon/__tests__/index.test.js

@ -56,7 +56,7 @@ describe('Icon', () => {
it('should give a warning when there is no primaryColor but secondaryColor', () => {
const wrapper = render(
<Icon type="check-circle" theme="two-tone" secondaryColor="#f5222d" />
<Icon type="check-circle" theme="twoTone" secondaryColor="#f5222d" />
);
expect(wrapper).toMatchSnapshot();
});

Loading…
Cancel
Save