Skip to content

Commit 9266df0

Browse files
committed
test(app-shell): drop the environmentOverlay preload main already carries
main's #26855 added the same module-scope `loadStudioCatalogue('zh')` await to `ResourceEditPage.environmentOverlay-12141.test.tsx`; with this branch's copy the merged file declared the import twice and failed to transform. Keep main's copy. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jVTqmjzhQU2Rqq79mu
1 parent 5bdb2bc commit 9266df0

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.environmentOverlay-12141.test.tsx‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ vi.mock('./i18n', async (importOriginal) => ({
7979
}));
8080

8181
import { MetadataResourceEditPage } from './ResourceEditPage';
82-
// The read-only banner (`engine.edit.readOnlyTypeBanner`) lives in
83-
// `@object-ui/i18n`'s `studio` namespace, whose `zh` catalogue is fetched on
84-
// demand. Resident before any case, so the zh banner is read after the
85-
// catalogue lands, never racing it (objectstack#26863).
86-
import { loadStudioCatalogue } from '@object-ui/i18n/namespaces/studio';
87-
await loadStudioCatalogue('zh');
8882

8983
/** An item a code package ships, as the layered read serves it. */
9084
function packagedItem() {

0 commit comments

Comments
 (0)