Skip to content

Commit 84dc199

Browse files
committed
test(ui): the invalid-scroll test pays the react-runtime load at collection
Claude-Session: https://claude.ai/code/session_01L6bhgXUMw7b8gUmNsyoXHR Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6d0988c commit 84dc199

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎ui/packages/components/src/renderers/form/__tests__/form-invalid-scroll.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ import { toast } from '../../../ui/sonner';
2727
// cold transform is billed to `hookTimeout`, which is why this carried a raised
2828
// timeout. See object-ui/no-dynamic-import-in-test-hook (objectui#3010/#3021).
2929
import '../../../renderers';
30+
// The renderers reach `react-runtime` through a dynamic import: pay its load at collection.
31+
import '@object-ui/react-runtime';
3032

3133
let toastErrorSpy: ReturnType<typeof vi.spyOn>;
3234

0 commit comments

Comments
 (0)