similarSpectrum.spec.jsx 431 B

1234567891011121314151617181920
  1. import React from 'react';
  2. import {shallow} from 'enzyme';
  3. import SimilarSpectrum from 'app/components/similarSpectrum';
  4. describe('SimilarSpectrum', function() {
  5. let sandbox;
  6. beforeEach(function() {
  7. sandbox = sinon.sandbox.create();
  8. });
  9. afterEach(function() {
  10. sandbox.restore();
  11. });
  12. it('renders', function() {
  13. let wrapper = shallow(<SimilarSpectrum />);
  14. expect(wrapper).toMatchSnapshot();
  15. });
  16. });