import React from 'react'
import renderer from 'react-test-renderer'
import Button from '.'
import { AddIcon } from '../icons'
describe('Button', () => {
test('basic.', () => {
const tree = renderer.create(
).toJSON()
expect(tree).toMatchSnapshot()
})
test('different size.', () => {
const tree = renderer.create(
<>
>
).toJSON()
expect(tree).toMatchSnapshot()
})
test('with icon and endIcon.', () => {
const tree = renderer.create(
} endIcon={}>button
).toJSON()
expect(tree).toMatchSnapshot()
})
})