import { create } from 'react-test-renderer'; import ActivationCard from './ActivationCard'; describe('', () => { test('Pending ActivationCard', () => { const tree = create( , ).toJSON(); expect(tree).toMatchSnapshot(); }); test('Needs attention ActivationCard', () => { const tree = create( , ).toJSON(); expect(tree).toMatchSnapshot(); }); test('Not started ActivationCard', () => { const tree = create( , ).toJSON(); expect(tree).toMatchSnapshot(); }); test('complete ActivationCard', () => { const tree = create( , ).toJSON(); expect(tree).toMatchSnapshot(); }); test('message + title', () => { const tree = create( , ).toJSON(); expect(tree).toMatchSnapshot(); }); test('message + title + link', () => { const tree = create( , ).toJSON(); expect(tree).toMatchSnapshot(); }); test('message + title + link + dismissButton', () => { const tree = create( , ).toJSON(); expect(tree).toMatchSnapshot(); }); });