Skip to content

Commit 3251f97

Browse files
committed
test(app-shell): warm @objectstack/lint at collection in the schedule cadence inspector test
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 93b35e7 commit 3251f97

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎ui/packages/app-shell/src/views/metadata-admin/inspectors/FlowNodeInspector.scheduleCadence-12779.test.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ import * as React from 'react';
2828
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
2929
import { render, screen, cleanup, fireEvent } from '@testing-library/react';
3030
import { resolveFlowTriggerKind } from '@objectstack/spec/automation';
31+
// The inspector's object picker and CEL authoring load `@objectstack/lint` with
32+
// function-body `import()`s. Warmed here so its first load is paid at
33+
// collection, not inside a case's bounded wait.
34+
import '@objectstack/lint';
3135

3236
vi.mock('../previews/useFlowNodePalette', () => ({
3337
useActionConfigSchemas: () => ({}),

0 commit comments

Comments
 (0)