diff --git a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsCard.test.tsx b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsCard.test.tsx index 46b7e18b34b6..c3ebe164f92d 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsCard.test.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsCard.test.tsx @@ -5,7 +5,6 @@ import {type ReactNode} from 'react' import {defineConfig} from 'sanity' import {createTestProvider} from '../../../../../test/testUtils/TestProvider' -import {structureUsEnglishLocaleBundle} from '../../../../structure/i18n' import {StudioAnnouncementsCard} from '../StudioAnnouncementsCard' const config = defineConfig({ @@ -16,7 +15,7 @@ const config = defineConfig({ async function createAnnouncementWrapper() { const wrapper = await createTestProvider({ config, - resources: [structureUsEnglishLocaleBundle], + resources: [], }) return ({children}: {children: ReactNode}) => wrapper({children: {children}}) diff --git a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsDialog.test.tsx b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsDialog.test.tsx index aa446f51163c..b50d2a9eb1c1 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsDialog.test.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsDialog.test.tsx @@ -5,7 +5,6 @@ import {type ReactNode} from 'react' import {defineConfig} from 'sanity' import {createTestProvider} from '../../../../../test/testUtils/TestProvider' -import {structureUsEnglishLocaleBundle} from '../../../../structure/i18n' import {StudioAnnouncementsDialog} from '../StudioAnnouncementsDialog' import {type StudioAnnouncementDocument} from '../types' @@ -88,7 +87,7 @@ const config = defineConfig({ async function createAnnouncementWrapper() { const wrapper = await createTestProvider({ config, - resources: [structureUsEnglishLocaleBundle], + resources: [], }) return ({children}: {children: ReactNode}) => wrapper({children: <>{children}}) diff --git a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsMenuItem.test.tsx b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsMenuItem.test.tsx index 1a4b63a3e937..7bcfa2cb10d1 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsMenuItem.test.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsMenuItem.test.tsx @@ -6,7 +6,6 @@ import {type ReactNode} from 'react' import {defineConfig} from 'sanity' import {createTestProvider} from '../../../../../test/testUtils/TestProvider' -import {structureUsEnglishLocaleBundle} from '../../../../structure/i18n' import {StudioAnnouncementsMenuItem} from '../StudioAnnouncementsMenuItem' import {type StudioAnnouncementDocument} from '../types' import {useStudioAnnouncements} from '../useStudioAnnouncements' @@ -45,7 +44,7 @@ const config = defineConfig({ async function createAnnouncementWrapper() { const wrapper = await createTestProvider({ config, - resources: [structureUsEnglishLocaleBundle], + resources: [], }) return ({children}: {children: ReactNode}) => wrapper({children: {children}}) diff --git a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsProvider.test.tsx b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsProvider.test.tsx index e97a5aac2bdd..abe5a767455b 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsProvider.test.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsProvider.test.tsx @@ -5,7 +5,6 @@ import {type ReactNode} from 'react' import {defineConfig} from 'sanity' import {createTestProvider} from '../../../../../test/testUtils/TestProvider' -import {structureUsEnglishLocaleBundle} from '../../../../structure/i18n' import {StudioAnnouncementsProvider} from '../StudioAnnouncementsProvider' import {type StudioAnnouncementDocument} from '../types' import {useSeenAnnouncements} from '../useSeenAnnouncements' @@ -39,7 +38,7 @@ const config = defineConfig({ async function createAnnouncementWrapper() { const wrapper = await createTestProvider({ config, - resources: [structureUsEnglishLocaleBundle], + resources: [], }) return ({children}: {children: ReactNode}) =>