Skip to content

Commit 0b6d41b

Browse files
committed
test(app-shell): warm the lazily loaded lint and formula modules in the module-disable suite
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibwxPsNfCDtuhas4VDr
1 parent b59f9b0 commit 0b6d41b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎ui/packages/app-shell/src/views/metadata-admin/PackagesPage.moduleDisable-28118.test.tsx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ import { PackageDetailSheet, PackagesPage, type InstalledPackageRow } from './Pa
3737
import { t } from './i18n';
3838
import { initRuntimeConfig, resetRuntimeConfigForTesting } from '../../runtime-config';
3939
import { loadStudioCatalogue } from '@object-ui/i18n/namespaces/studio';
40+
// The sheet's package form reaches the CEL authoring helpers, which load these
41+
// two lazily; warmed here so their first load is paid at import, not inside a
42+
// test's bounded wait.
43+
import '@objectstack/formula';
44+
import '@objectstack/lint';
4045

4146
// The zh catalogue of the designer strings is fetched on first use; loaded here
4247
// so a zh render answers in zh from its first paint.

0 commit comments

Comments
 (0)