import React from 'react'; import {shallow} from 'enzyme'; import SimilarScoreCard from 'app/components/similarScoreCard'; describe('SimilarScoreCard', function() { let sandbox; beforeEach(function() { sandbox = sinon.sandbox.create(); }); afterEach(function() { sandbox.restore(); }); it('renders', function() { let wrapper = shallow(); expect(wrapper).toMatchSnapshot(); }); it('renders with score list', function() { let wrapper = shallow( ); expect(wrapper).toMatchSnapshot(); }); });