import React from 'react'
import renderer from 'react-test-renderer'
import { Avatar } from '../../../avatar'
import { MaxTwoInTheBackIllustration } from '../../../illustration/maxTwoInTheBack'
import { IllustratedSection } from './index'
describe('IllustratedSection', () => {
it('should render an IllustratedSection section with an img', () => {
const section = (
}>
Hello World
)
const renderedSection = renderer.create(section).toJSON()
expect(renderedSection).toMatchSnapshot()
})
it('should render an IllustratedSection section with an Avatar', () => {
const section = (
}>
Hello World
)
const renderedSection = renderer.create(section).toJSON()
expect(renderedSection).toMatchSnapshot()
})
it('should render an IllustratedSection section with an illustration', () => {
const section = (
}>
Hello World
)
const renderedSection = renderer.create(section).toJSON()
expect(renderedSection).toMatchSnapshot()
})
})