import React from 'react'
import renderer from 'react-test-renderer'
import { ItemInfo } from '../../../itemInfo'
import { ItemsSection } from './index'
describe('ItemsSection', () => {
it('should render default items section', () => {
const section = (
)
const renderedSection = renderer.create(section).toJSON()
expect(renderedSection).toMatchSnapshot()
})
it('should render non-default items section', () => {
const props = {
Tag: ,
className: 'contentinfo',
}
const section = (
)
const renderedSection = renderer.create(section).toJSON()
expect(renderedSection).toMatchSnapshot()
})
})