Skip to content

Commit 31dfa88

Browse files
committed
test(studio): pay the lazy lint load at collection in the two list-view layer suites
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxbWBvGf6TP6P9XT1tuo
1 parent e4a8007 commit 31dfa88

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎ui/packages/app-shell/src/views/studio-design/ObjectListViewInspector.fallbackNoLayers-36750.test.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
*/
3636

3737
import '@testing-library/jest-dom/vitest';
38+
// Paid at collection, not inside a clocked case (check:test-source-alias):
39+
// the source under test loads `@objectstack/lint` lazily.
40+
import '@objectstack/lint';
3841
import * as React from 'react';
3942
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
4043
import { act, cleanup, render } from '@testing-library/react';

‎ui/packages/app-shell/src/views/studio-design/ObjectListViewInspector.layersUnsaved-11799.test.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
*/
3838

3939
import '@testing-library/jest-dom/vitest';
40+
// Paid at collection, not inside a clocked case (check:test-source-alias):
41+
// the source under test loads `@objectstack/lint` lazily.
42+
import '@objectstack/lint';
4043
import * as React from 'react';
4144
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
4245
import { act, cleanup, render, screen } from '@testing-library/react';

0 commit comments

Comments
 (0)