Created
April 14, 2022 01:45
-
-
Save tanner-west/ca7e5ecf0c8d611905bd5227b436147b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// Consider we update the above test code to do this... | |
const wrapper = shallow(<DebugComponent />); | |
const textWrapper = wrapper.find('Text') | |
console.log(textWrapper.debug()) | |
// ...and see the following output | |
/* | |
<Text> | |
Please test me | |
</Text> | |
<Text> | |
While you're here, click the button 👆 | |
</Text> | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment