diff options
Diffstat (limited to 'test/app/Application.test.js')
-rw-r--r-- | test/app/Application.test.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/app/Application.test.js b/test/app/Application.test.js new file mode 100644 index 0000000..87d6c4c --- /dev/null +++ b/test/app/Application.test.js @@ -0,0 +1,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); + }); +});
\ No newline at end of file |