blob: 87d6c4c762b0127d73ef93b38c9075224bbcee0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import React from 'react';
import {shallow} from 'enzyme';
import Application from 'app/Application';
describe('Application', () => {
it('renders children when passed in', () => {
const wrapper = shallow((
<Application>
<div className="unique"/>
</Application>
));
expect(wrapper.contains(<div className="unique" />)).toEqual(true);
});
});
|