diff --git a/static/app/views/alerts/index.spec.tsx b/static/app/views/alerts/index.spec.tsx
index 34c100c75261d4..370bbf11802b78 100644
--- a/static/app/views/alerts/index.spec.tsx
+++ b/static/app/views/alerts/index.spec.tsx
@@ -1,14 +1,8 @@
import {render, screen} from 'sentry-test/reactTestingLibrary';
-import TeamStore from 'sentry/stores/teamStore';
import AlertsContainer from 'sentry/views/alerts';
describe('AlertsContainer', function () {
- beforeEach(() => {
- const team = TestStubs.Team({slug: 'team-slug', isMember: true});
- TeamStore.loadInitialData([{...team, access: ['team:read']}]);
- });
-
function SubView({hasMetricAlerts}: {hasMetricAlerts?: boolean}) {
return {hasMetricAlerts ? 'access' : 'no access'}
;
}
diff --git a/static/app/views/alerts/list/incidents/index.spec.tsx b/static/app/views/alerts/list/incidents/index.spec.tsx
index 118fa8035015a6..6854bdaa80347f 100644
--- a/static/app/views/alerts/list/incidents/index.spec.tsx
+++ b/static/app/views/alerts/list/incidents/index.spec.tsx
@@ -35,8 +35,6 @@ describe('IncidentsList', () => {
};
beforeEach(() => {
- const team = TestStubs.Team({slug: 'team-slug', isMember: true});
- TeamStore.loadInitialData([{...team, access: ['team:read']}]);
MockApiClient.addMockResponse({
url: '/organizations/org-slug/incidents/',
body: [
diff --git a/static/app/views/dashboards/detail.spec.tsx b/static/app/views/dashboards/detail.spec.tsx
index e34067784b75d0..3273200b84dbab 100644
--- a/static/app/views/dashboards/detail.spec.tsx
+++ b/static/app/views/dashboards/detail.spec.tsx
@@ -12,7 +12,6 @@ import {
import * as modals from 'sentry/actionCreators/modal';
import ProjectsStore from 'sentry/stores/projectsStore';
-import TeamStore from 'sentry/stores/teamStore';
import CreateDashboard from 'sentry/views/dashboards/create';
import * as types from 'sentry/views/dashboards/types';
import ViewEditDashboard from 'sentry/views/dashboards/view';
@@ -28,8 +27,6 @@ describe('Dashboards > Detail', function () {
let initialData;
beforeEach(function () {
- const team = TestStubs.Team({slug: 'team-slug', isMember: true});
- TeamStore.loadInitialData([{...team, access: ['team:read']}]);
act(() => ProjectsStore.loadInitialData(projects));
initialData = initializeOrg({organization});
diff --git a/static/app/views/dashboards/manage/index.spec.tsx b/static/app/views/dashboards/manage/index.spec.tsx
index 38fba20598c87a..0543bdb248d6f5 100644
--- a/static/app/views/dashboards/manage/index.spec.tsx
+++ b/static/app/views/dashboards/manage/index.spec.tsx
@@ -4,7 +4,6 @@ import selectEvent from 'react-select-event';
import {act, render, screen, userEvent, waitFor} from 'sentry-test/reactTestingLibrary';
import ProjectsStore from 'sentry/stores/projectsStore';
-import TeamStore from 'sentry/stores/teamStore';
import ManageDashboards from 'sentry/views/dashboards/manage';
const FEATURES = [
@@ -23,8 +22,6 @@ describe('Dashboards > Detail', function () {
features: FEATURES,
});
beforeEach(function () {
- const team = TestStubs.Team({slug: 'team-slug', isMember: true});
- TeamStore.loadInitialData([{...team, access: ['team:read']}]);
act(() => ProjectsStore.loadInitialData([TestStubs.Project()]));
MockApiClient.addMockResponse({
diff --git a/static/app/views/discover/eventDetails/index.spec.tsx b/static/app/views/discover/eventDetails/index.spec.tsx
index c395883c918c61..a1bf3050105aaf 100644
--- a/static/app/views/discover/eventDetails/index.spec.tsx
+++ b/static/app/views/discover/eventDetails/index.spec.tsx
@@ -2,7 +2,6 @@ import {initializeOrg} from 'sentry-test/initializeOrg';
import {act, render, screen} from 'sentry-test/reactTestingLibrary';
import ProjectsStore from 'sentry/stores/projectsStore';
-import TeamStore from 'sentry/stores/teamStore';
import EventView from 'sentry/utils/discover/eventView';
import {ALL_VIEWS, DEFAULT_EVENT_VIEW} from 'sentry/views/discover/data';
import EventDetails from 'sentry/views/discover/eventDetails';
@@ -14,8 +13,6 @@ describe('Discover > EventDetails', function () {
);
beforeEach(function () {
- const team = TestStubs.Team({slug: 'team-slug', isMember: true});
- TeamStore.loadInitialData([{...team, access: ['team:read']}]);
act(() => ProjectsStore.loadInitialData([TestStubs.Project()]));
MockApiClient.addMockResponse({
diff --git a/static/app/views/organizationStats/teamInsights/index.spec.tsx b/static/app/views/organizationStats/teamInsights/index.spec.tsx
index a8ec9d0eddb063..a3a7fb4b5ed66d 100644
--- a/static/app/views/organizationStats/teamInsights/index.spec.tsx
+++ b/static/app/views/organizationStats/teamInsights/index.spec.tsx
@@ -1,7 +1,6 @@
import {render, screen} from 'sentry-test/reactTestingLibrary';
import ProjectsStore from 'sentry/stores/projectsStore';
-import TeamStore from 'sentry/stores/teamStore';
import TeamInsightsContainer from 'sentry/views/organizationStats/teamInsights';
describe('TeamInsightsContainer', () => {
@@ -23,8 +22,6 @@ describe('TeamInsightsContainer', () => {
});
it('allows access for orgs with flag', () => {
ProjectsStore.loadInitialData([TestStubs.Project()]);
- const team = TestStubs.Team({slug: 'team-slug', isMember: true});
- TeamStore.loadInitialData([{...team, access: ['team:read']}]);
const organization = TestStubs.Organization({features: ['team-insights']});
const context = TestStubs.routerContext([{organization}]);
render(
diff --git a/static/app/views/projectDetail/index.spec.tsx b/static/app/views/projectDetail/index.spec.tsx
index 4ad8b0dd716f32..28ee986e056c94 100644
--- a/static/app/views/projectDetail/index.spec.tsx
+++ b/static/app/views/projectDetail/index.spec.tsx
@@ -4,7 +4,6 @@ import {textWithMarkupMatcher} from 'sentry-test/utils';
import PageFiltersStore from 'sentry/stores/pageFiltersStore';
import ProjectsStore from 'sentry/stores/projectsStore';
-import TeamStore from 'sentry/stores/teamStore';
import ProjectDetails from 'sentry/views/projectDetail/projectDetail';
describe('ProjectDetail', function () {
@@ -14,8 +13,6 @@ describe('ProjectDetail', function () {
beforeEach(() => {
PageFiltersStore.reset();
ProjectsStore.reset();
- const team = TestStubs.Team({slug: 'team-slug', isMember: true});
- TeamStore.loadInitialData([{...team, access: ['team:read']}]);
// eslint-disable-next-line no-console
jest.spyOn(console, 'error').mockImplementation(jest.fn());
diff --git a/static/app/views/releases/list/index.spec.tsx b/static/app/views/releases/list/index.spec.tsx
index 5e6a602765b93d..baa9f43e404220 100644
--- a/static/app/views/releases/list/index.spec.tsx
+++ b/static/app/views/releases/list/index.spec.tsx
@@ -10,7 +10,6 @@ import {
} from 'sentry-test/reactTestingLibrary';
import ProjectsStore from 'sentry/stores/projectsStore';
-import TeamStore from 'sentry/stores/teamStore';
import ReleasesList from 'sentry/views/releases/list/';
import {ReleasesDisplayOption} from 'sentry/views/releases/list/releasesDisplayOptions';
import {ReleasesSortOption} from 'sentry/views/releases/list/releasesSortOptions';
@@ -58,8 +57,6 @@ describe('ReleasesList', () => {
let endpointMock, sessionApiMock;
beforeEach(() => {
- const team = TestStubs.Team({slug: 'team-slug', isMember: true});
- TeamStore.loadInitialData([{...team, access: ['team:read']}]);
act(() => ProjectsStore.loadInitialData(organization.projects));
endpointMock = MockApiClient.addMockResponse({
url: '/organizations/org-slug/releases/',
diff --git a/static/app/views/userFeedback/index.spec.tsx b/static/app/views/userFeedback/index.spec.tsx
index aa551145979d90..fdeb2f19bb9677 100644
--- a/static/app/views/userFeedback/index.spec.tsx
+++ b/static/app/views/userFeedback/index.spec.tsx
@@ -2,7 +2,6 @@ import {initializeOrg} from 'sentry-test/initializeOrg';
import {render, screen, userEvent} from 'sentry-test/reactTestingLibrary';
import ProjectsStore from 'sentry/stores/projectsStore';
-import TeamStore from 'sentry/stores/teamStore';
import UserFeedback from 'sentry/views/userFeedback';
describe('UserFeedback', function () {
@@ -23,8 +22,6 @@ describe('UserFeedback', function () {
beforeEach(function () {
ProjectsStore.loadInitialData([project]);
- const team = TestStubs.Team({slug: 'team-slug', isMember: true});
- TeamStore.loadInitialData([{...team, access: ['team:read']}]);
MockApiClient.addMockResponse({
url: '/organizations/org-slug/user-feedback/',