toolbar.spec.jsx 373 B

123456789101112131415161718
  1. import React from 'react';
  2. import {shallow} from 'sentry-test/enzyme';
  3. import Toolbar from 'app/components/toolbar';
  4. describe('Toolbar', function() {
  5. beforeEach(function() {});
  6. afterEach(function() {});
  7. it('renders', function() {
  8. const wrapper = shallow(
  9. <Toolbar>
  10. <div />
  11. </Toolbar>
  12. );
  13. expect(wrapper).toMatchSnapshot();
  14. });
  15. });