Skip to content

Commit 237bbe0

Browse files
committed
test(app-shell): pay the lint load at collection in the toolbar-writes test
Claude-Session: https://claude.ai/code/session_01L6bhgUkr3W7rNEqPk3J858 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9c1b9be commit 237bbe0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎ui/packages/app-shell/src/views/ObjectView.toolbarWritesCompose-11642.test.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ vi.mock('@object-ui/plugin-list', async (importOriginal) => ({
121121
}));
122122

123123
import { toast } from 'sonner';
124+
// `ObjectView` reaches a dynamic `import('@objectstack/lint')`: pay its load at
125+
// collection, never inside a case's clocked window (`check:test-source-alias`).
126+
import '@objectstack/lint';
124127
import { ObjectView } from './ObjectView';
125128
import { ExpressionProvider } from '../providers/ExpressionProvider';
126129

0 commit comments

Comments
 (0)