Skip to content

Commit 7c7c5ba

Browse files
committed
test(console): pay the lint load at collection in the mobile app page test
Claude-Session: https://claude.ai/code/session_01ADHkmRLqg1PuH8D83b32SV Co-authored-by: Claude <noreply@anthropic.com>
1 parent cacb7dd commit 7c7c5ba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎ui/packages/app-shell/src/console/mobile-app/MobileAppPage.test.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ vi.mock('@object-ui/auth', async (importOriginal) => ({
3535
import { MobileAppPage } from './MobileAppPage';
3636
import { builtInLocales } from '@object-ui/i18n/locales';
3737
import { getAppComponent } from '../../services/componentRegistry';
38+
// The registry check below loads every built-in page, which reaches the
39+
// metadata admin's dynamic `@objectstack/lint` import: pay that load at
40+
// collection, never inside a test's clocked window.
41+
import '@objectstack/lint';
3842
import '../../services/builtinComponents';
3943

4044
function serving(features: Record<string, unknown> | undefined) {

0 commit comments

Comments
 (0)