import { create } from 'react-test-renderer'; import Pog from './Pog'; test('Pog renders with icon', () => { const tree = create().toJSON(); expect(tree).toMatchSnapshot(); }); test('Pog renders with size and default padding', () => { const tree = create().toJSON(); expect(tree).toMatchSnapshot(); }); test('Pog renders with size and custom padding', () => { const tree = create().toJSON(); expect(tree).toMatchSnapshot(); }); test('Pog renders with accessibilityLabel', () => { const tree = create().toJSON(); expect(tree).toMatchSnapshot(); }); test('Pog renders with svg', () => { const tree = create().toJSON(); expect(tree).toMatchSnapshot(); }); test('Pog active renders', () => { const tree = create().toJSON(); expect(tree).toMatchSnapshot(); }); test('Pog focused renders', () => { const tree = create().toJSON(); expect(tree).toMatchSnapshot(); }); test('Pog hovered renders', () => { const tree = create().toJSON(); expect(tree).toMatchSnapshot(); });