import React from 'react';
import { mount } from 'enzyme';
import Collapse from '..';
describe('Collapse', () => {
it('should support remove expandIcon', () => {
const wrapper = mount(
null}>
,
);
expect(wrapper.render()).toMatchSnapshot();
});
it('should render extra node of panel', () => {
const wrapper = mount(
action} />
action} />
,
);
expect(wrapper.render()).toMatchSnapshot();
});
});