import React from 'react';
import { mount } from 'enzyme';
import { SmileOutlined } from '@ant-design/icons';
import IconContext from '@ant-design/icons/lib/components/Context';
import ConfigProvider from '..';
describe('ConfigProvider.Icon', () => {
beforeEach(() => {
// eslint-disable-next-line jest/no-standalone-expect
expect(document.querySelectorAll('style')).toHaveLength(0);
});
afterEach(() => {
document.querySelectorAll('style').forEach(style => {
style.parentNode.removeChild(style);
});
});
it('basic', () => {
const wrapper = mount(