eventsTable.spec.jsx 519 B

12345678910111213141516171819202122
  1. import React from 'react';
  2. import {shallow} from 'sentry-test/enzyme';
  3. import EventsTable from 'app/components/eventsTable/eventsTable';
  4. describe('EventsTable', function() {
  5. beforeEach(function() {});
  6. afterEach(function() {});
  7. it('renders', function() {
  8. const wrapper = shallow(
  9. <EventsTable
  10. tagList={[]}
  11. orgId="orgId"
  12. projectId="projectId"
  13. groupId="groupId"
  14. events={TestStubs.DetailedEvents()}
  15. />
  16. );
  17. expect(wrapper).toMatchSnapshot();
  18. });
  19. });