Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
export function MyCustomComponent(props) {
return (
<div>
<p>MyCustomComponent paragraph 1</p>
<p>MyCustomComponent paragraph 2</p>
</div>
)
}
export function ParentComponent(props) {
return (
<div>
<p>Just a paragraph</p>
<MyCustomComponent/>
</div>
);
}
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ParentComponent`] = `
<div>
<p>Just a paragraph</p>
<MyCustomComponent/>
</div>
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.