Skip to content

Commit 1503829

Browse files
committed
test(app-shell): pay the formula and lint loads at collection in the returnType inspector pin
Claude-Session: https://claude.ai/code/session_01Utp6CajiB6BSQKWowy6YLB Co-authored-by: Claude <noreply@anthropic.com>
1 parent bcc99c9 commit 1503829

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.returnTypeHeld-27485.test.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
*/
1818

1919
import '@testing-library/jest-dom/vitest';
20+
// The source loads these lazily; pay that load at collection, not inside a
21+
// case's clocked window.
22+
import '@objectstack/formula';
23+
import '@objectstack/lint';
2024
import * as React from 'react';
2125
import { describe, it, expect, vi, afterEach } from 'vitest';
2226
import { render, screen, fireEvent, cleanup, waitFor } from '@testing-library/react';

0 commit comments

Comments
 (0)