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