import React from 'react' import renderer from 'react-test-renderer' import { Badge } from '.' import { SmallSquire, Squire, Circle } from './demos/shapes' describe('Badge', () => { test('basic.', () => { const tree = renderer.create( ).toJSON() expect(tree).toMatchSnapshot() }) test('different size.', () => { const tree = renderer.create( <> ).toJSON() expect(tree).toMatchSnapshot() }) test('different type.', () => { const tree = renderer.create( <> ).toJSON() expect(tree).toMatchSnapshot() }) })