import React from 'react'; import {shallow} from 'enzyme'; import ResolutionBox from 'app/components/resolutionBox'; describe('ResolutionBox', function() { describe('render()', function() { it('handles inNextRelease', function() { let wrapper = shallow( ); expect(wrapper).toMatchSnapshot(); }); it('handles inNextRelease with actor', function() { let wrapper = shallow( ); expect(wrapper).toMatchSnapshot(); }); it('handles inRelease', function() { let wrapper = shallow( ); expect(wrapper).toMatchSnapshot(); }); it('handles inRelease with actor', function() { let wrapper = shallow( ); expect(wrapper).toMatchSnapshot(); }); it('handles default', function() { let wrapper = shallow( ); expect(wrapper).toMatchSnapshot(); }); it('handles inCommit', function() { let wrapper = shallow( ); expect(wrapper).toMatchSnapshot(); }); }); });