diff --git a/static/app/bootstrap/processInitQueue.spec.tsx b/static/app/bootstrap/processInitQueue.spec.tsx index 4daa33d0c355..b0c1d7c500cb 100644 --- a/static/app/bootstrap/processInitQueue.spec.tsx +++ b/static/app/bootstrap/processInitQueue.spec.tsx @@ -10,7 +10,6 @@ import {TeamFixture} from 'sentry-fixture/team'; import {screen, userEvent, waitFor} from 'sentry-test/reactTestingLibrary'; import {processInitQueue} from 'sentry/bootstrap/processInitQueue'; -import {AlertStore} from 'sentry/stores/alertStore'; import {IndicatorStore} from 'sentry/stores/indicatorStore'; import {SentryInitRenderReactComponent} from 'sentry/types/system'; @@ -61,24 +60,6 @@ describe('processInitQueue', () => { processInitQueue(); expect(await screen.findByText('Indicator Alert')).toBeInTheDocument(); }); - it('renders system alerts', async () => { - window.__onSentryInit = [ - { - component: SentryInitRenderReactComponent.SYSTEM_ALERTS, - container: '#system-alerts-container', - name: 'renderReact', - }, - ]; - - AlertStore.addAlert({ - message: 'System Alert', - variant: 'success', - }); - - render(
); - processInitQueue(); - expect(await screen.findByText('System Alert')).toBeInTheDocument(); - }); it('renders setup wizard', async () => { window.__onSentryInit = [ { diff --git a/static/app/bootstrap/processInitQueue.tsx b/static/app/bootstrap/processInitQueue.tsx index 79d6f9f52756..ddf4fd4fe084 100644 --- a/static/app/bootstrap/processInitQueue.tsx +++ b/static/app/bootstrap/processInitQueue.tsx @@ -21,8 +21,6 @@ const queryClient = new QueryClient(DEFAULT_QUERY_CLIENT_CONFIG); const COMPONENT_MAP = { [SentryInitRenderReactComponent.INDICATORS]: () => import(/* webpackChunkName: "Indicators" */ 'sentry/components/indicators'), - [SentryInitRenderReactComponent.SYSTEM_ALERTS]: () => - import(/* webpackChunkName: "SystemAlerts" */ 'sentry/views/app/systemAlerts'), [SentryInitRenderReactComponent.SETUP_WIZARD]: () => import(/* webpackChunkName: "SetupWizard" */ 'sentry/views/setupWizard'), [SentryInitRenderReactComponent.WEB_AUTHN_ASSSERT]: () => diff --git a/static/app/types/system.tsx b/static/app/types/system.tsx index 56a02824be3b..6592a180fa1e 100644 --- a/static/app/types/system.tsx +++ b/static/app/types/system.tsx @@ -9,7 +9,6 @@ import type {User} from './user'; export enum SentryInitRenderReactComponent { INDICATORS = 'Indicators', SETUP_WIZARD = 'SetupWizard', - SYSTEM_ALERTS = 'SystemAlerts', WEB_AUTHN_ASSSERT = 'WebAuthnAssert', SU_STAFF_ACCESS_FORM = 'SuperuserStaffAccessForm', }