Skip to content

Commit dd7e129

Browse files
committed
test(studio): pay the lazy loads at collection in the suites this card edits
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5790a82 commit dd7e129

15 files changed

Lines changed: 32 additions & 0 deletions

‎ui/packages/app-shell/src/chrome/CommandPalette.studioScope-11863.test.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
* metadata cache is a hand-rolled `MetadataCtx` value that counts its reads.
3131
*/
3232

33+
// Paid at collection, not inside a case's clock (check:test-source-alias).
34+
import '@objectstack/lint';
35+
import '@object-ui/plugin-detail';
3336
import * as React from 'react';
3437
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
3538
import { render, fireEvent, waitFor, cleanup, screen } from '@testing-library/react';

‎ui/packages/app-shell/src/views/studio-design/CreateItemDialog.labels-13128.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* not on the copy.
1616
*/
1717

18+
// Paid at collection, not inside a case's clock (check:test-source-alias).
19+
import '@objectstack/lint';
1820
import '@testing-library/jest-dom/vitest';
1921
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
2022
import { cleanup, fireEvent, render, screen, waitFor, within } from '@testing-library/react';

‎ui/packages/app-shell/src/views/studio-design/DataPillar.advancedKeepsName-11794.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* stubbed: only which one is open is under test, not what it draws.
1414
*/
1515

16+
// Paid at collection, not inside a case's clock (check:test-source-alias).
17+
import '@objectstack/lint';
1618
import '@testing-library/jest-dom/vitest';
1719
import { afterEach, describe, expect, it, vi } from 'vitest';
1820
import { cleanup, render, screen, waitFor, within } from '@testing-library/react';

‎ui/packages/app-shell/src/views/studio-design/DataPillar.externalObject-27279.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* affordances it draws from the grid's authoring context.
1313
*/
1414

15+
// Paid at collection, not inside a case's clock (check:test-source-alias).
16+
import '@objectstack/lint';
1517
import '@testing-library/jest-dom/vitest';
1618
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
1719
// Module scope as well as in the `vi.mock` factory below: the cold transform is paid

‎ui/packages/app-shell/src/views/studio-design/DataPillar.flatTabs-12450.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
* only which panel is open is under test, not what it draws.
2020
*/
2121

22+
// Paid at collection, not inside a case's clock (check:test-source-alias).
23+
import '@objectstack/lint';
2224
import '@testing-library/jest-dom/vitest';
2325
import { afterEach, describe, expect, it, vi } from 'vitest';
2426
import { cleanup, render, screen, waitFor, within } from '@testing-library/react';

‎ui/packages/app-shell/src/views/studio-design/DataPillar.formToolbar-12451.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
* from the grid's authoring context the way the real grid draws it.
1717
*/
1818

19+
// Paid at collection, not inside a case's clock (check:test-source-alias).
20+
import '@objectstack/lint';
1921
import '@testing-library/jest-dom/vitest';
2022
import { afterEach, describe, expect, it, vi } from 'vitest';
2123
// Module scope as well as in the `vi.mock` factory below: the cold transform is paid

‎ui/packages/app-shell/src/views/studio-design/DataPillar.gridProjection.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
* would move the bug back without reddening anything.
2424
*/
2525

26+
// Paid at collection, not inside a case's clock (check:test-source-alias).
27+
import '@objectstack/lint';
2628
import '@testing-library/jest-dom/vitest';
2729
import * as React from 'react';
2830
import { describe, it, expect, vi, afterEach } from 'vitest';

‎ui/packages/app-shell/src/views/studio-design/DataPillar.headerActions-12511.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* because only the header is under test.
2121
*/
2222

23+
// Paid at collection, not inside a case's clock (check:test-source-alias).
24+
import '@objectstack/lint';
2325
import '@testing-library/jest-dom/vitest';
2426
import { afterEach, describe, expect, it, vi } from 'vitest';
2527
import { cleanup, render, screen, waitFor } from '@testing-library/react';

‎ui/packages/app-shell/src/views/studio-design/DataPillar.inspectorBelongsToView-11781.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* "no inspector" note: the rail's presence is the observable, whatever it holds.
1919
*/
2020

21+
// Paid at collection, not inside a case's clock (check:test-source-alias).
22+
import '@objectstack/lint';
2123
import '@testing-library/jest-dom/vitest';
2224
import * as React from 'react';
2325
import { afterEach, describe, expect, it, vi } from 'vitest';

‎ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.createAppAccessibleName.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
* reader and an automation harness compute.
4141
*/
4242

43+
// Paid at collection, not inside a case's clock (check:test-source-alias).
44+
import '@objectstack/lint';
4345
import '@testing-library/jest-dom/vitest';
4446
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
4547
import { cleanup, fireEvent, render, screen, waitFor, within } from '@testing-library/react';

0 commit comments

Comments
 (0)