import {mountWithTheme} from 'sentry-test/enzyme';
import EventOrGroupExtraDetails from 'app/components/eventOrGroupExtraDetails';
import {initializeOrg} from '../../sentry-test/initializeOrg';
describe('EventOrGroupExtraDetails', function () {
const {routerContext} = initializeOrg();
it('renders last and first seen', function () {
const component = mountWithTheme(
,
routerContext
);
expect(component).toSnapshot();
});
it('renders only first seen', function () {
const component = mountWithTheme(
,
routerContext
);
expect(component).toSnapshot();
});
it('renders only last seen', function () {
const component = mountWithTheme(
,
routerContext
);
expect(component).toSnapshot();
});
it('renders all details', function () {
const component = mountWithTheme(
,
routerContext
);
expect(component).toSnapshot();
});
it('renders assignee and status', function () {
const component = mountWithTheme(
,
routerContext
);
expect(component).toSnapshot();
});
it('details when mentioned', function () {
const component = mountWithTheme(
,
routerContext
);
expect(component).toSnapshot();
});
});