import React from 'react'; import { renderWithTheme } from '../helper/renderWithTheme'; import Card from './Card'; test('Default Card matches snapshot', () => { const { container } = renderWithTheme(Default Card, {}); expect(container.firstChild).toMatchSnapshot(); }); test('Big Card matches snapshot', () => { const { container } = renderWithTheme(Big card, {}); expect(container.firstChild).toMatchSnapshot(); }); test('Dashed Card matches snapshot', () => { const { container } = renderWithTheme(Dashed card, {}); expect(container.firstChild).toMatchSnapshot(); });