/** * External dependencies * * @format */ import { shallow } from 'enzyme'; /** * Internal dependencies */ import Card from '../'; describe( 'Card', () => { test( 'should have correct title', () => { const card = ; expect( card.props.title ).toBe( 'A Card Example' ); } ); test( 'should have correct class', () => { const card = shallow( ); expect( card.hasClass( 'woocommerce-card' ) ).toBe( true ); } ); } );