import {initializeOrg} from 'sentry-test/initializeOrg'; import {render} from 'sentry-test/reactTestingLibrary'; import EventOrGroupExtraDetails from 'sentry/components/eventOrGroupExtraDetails'; import {Group} from 'sentry/types'; describe('EventOrGroupExtraDetails', function () { const {routerContext} = initializeOrg(); it('renders last and first seen', function () { render( , {context: routerContext} ); }); it('renders only first seen', function () { render( , {context: routerContext} ); }); it('renders only last seen', function () { render( , {context: routerContext} ); }); it('renders all details', function () { render( , {context: routerContext} ); }); it('renders assignee and status', function () { render( , {context: routerContext} ); }); it('details when mentioned', function () { render( , {context: routerContext} ); }); });