checkbox.spec.jsx 325 B

123456789101112
  1. import React from 'react';
  2. import {shallow} from 'sentry-test/enzyme';
  3. import toJson from 'enzyme-to-json';
  4. import Checkbox from 'app/components/checkbox';
  5. describe('Checkbox', function() {
  6. it('renders', function() {
  7. const component = shallow(<Checkbox />);
  8. expect(toJson(component)).toMatchSnapshot();
  9. });
  10. });