eventsTableRow.spec.jsx 597 B

123456789101112131415161718192021
  1. import {render} from 'sentry-test/reactTestingLibrary';
  2. import {EventsTableRow} from 'sentry/components/eventsTable/eventsTableRow';
  3. describe('EventsTableRow', function () {
  4. it('renders', function () {
  5. const {container} = render(
  6. <table>
  7. <tbody>
  8. <EventsTableRow
  9. organization={TestStubs.Organization()}
  10. tagList={[]}
  11. {...{orgId: 'orgId', projectId: 'projectId', groupId: 'groupId'}}
  12. event={TestStubs.DetailedEvents()[0]}
  13. />
  14. </tbody>
  15. </table>
  16. );
  17. expect(container).toSnapshot();
  18. });
  19. });