eventsTableRow.spec.jsx 530 B

123456789101112131415161718
  1. import React from 'react';
  2. import {shallow} from 'enzyme';
  3. import {EventsTableRow} from 'app/components/eventsTable/eventsTableRow';
  4. import events from '../../../mocks/events';
  5. describe('EventsTableRow', function() {
  6. it('renders', function() {
  7. let wrapper = shallow(
  8. <EventsTableRow
  9. organization={TestStubs.Organization()}
  10. tagList={[]}
  11. {...{orgId: 'orgId', projectId: 'projectId', groupId: 'groupId'}}
  12. event={events[0]}
  13. />
  14. );
  15. expect(wrapper).toMatchSnapshot();
  16. });
  17. });