import React from 'react'; import { shallow } from 'enzyme'; import RCCSurveyCTA from './'; const props = { title: 'Welcome to the Rapha Cycling Club', subTitle: 'Take the RCC Survey', body: 'Help us ensure you get the most out of your membership by looking ahead to the next 12 months, and answering the following questions.', buttonText: 'Take the Survey', imageSrc: 'https://i1.adis.ws/i/rapha/rcc_crest_2018_white', imageAlt: 'Rapha Cycling Club logo', imageRatio: '1:1' }; describe('RCCSurveyCTA', () => { test('renders', () => { const wrapper = shallow(); expect(wrapper).toMatchSnapshot(); }); });