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 />); | |
console.log(counterWrapper.debug()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment