import renderer from 'react-test-renderer';
import AccordionExpandable from './AccordionExpandable';
describe('Module Expandable', () => {
test('renders correctly with one item', () => {
const tree = renderer
.create(
,
)
.toJSON();
expect(tree).toMatchSnapshot();
});
test('renders correctly with multiple items', () => {
const tree = renderer
.create(
,
)
.toJSON();
expect(tree).toMatchSnapshot();
});
});
test('renders correctly with multiple items with expandedId', () => {
const tree = renderer
.create(
{}}
/>,
)
.toJSON();
expect(tree).toMatchSnapshot();
});