Skip to content

Instantly share code, notes, and snippets.

@Dinamiko Dinamiko/sum.js
Last active Dec 5, 2018

Embed
What would you like to do?
class App extends Component {
render() {
return (
<div>
<Sum/>
<Multiply/>
</div>
);
}
}
test('display Sum and Multiply components', () => {
const component = mount(<App/>);
expect(component.find(Sum).length).toEqual(1);
expect(component.find(Multiply).length).toEqual(1);
});
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.