Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Test for CounterWrapper to demonstrate mount
/* src/components/Counter/test/CounterWrapperTest.js */
import React from 'react'
import CounterWrapper from '../CounterWrapper';
import { shallow } from 'enzyme';
const counterWrapper = shallow(<CounterWrapper />);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment