import {initializeOrg} from 'sentry-test/initializeOrg'; import {render} from 'sentry-test/reactTestingLibrary'; import EventSdkUpdates from 'sentry/components/events/sdkUpdates'; describe('EventSdkUpdates', function () { const {routerContext} = initializeOrg(); it('renders a suggestion to update the sdk and then enable an integration', function () { const props = { event: TestStubs.UpdateSdkAndEnableIntegrationSuggestion(), }; const wrapper = render(, {context: routerContext}); expect(wrapper.container).toSnapshot(); }); });