This Gist was automatically created by Carbide, a free online programming environment.
Last active
August 25, 2016 08:31
-
-
Save jhsu/cdb4a1ee64693c88f05da3591f15d7a3 to your computer and use it in GitHub Desktop.
reactjs test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { shallow } from 'enzyme'; | |
const wrapper = shallow(<div>hello</div>); | |
wrapper.text(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment