Skip to content

Commit a39d310

Browse files
committed
test(metadata-protocol): unmanaged-install test pays the lint root at collection
The source-reach half of check:test-source-alias (on main since #30969) judges this edited file: its cases reach the protocol's lazy import('@objectstack/lint') (metadata-diagnostics.ts) inside a clocked window. Import ./lint-root-preload.testkit.js at module top, as the sibling protocol test files do. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cxRibYnMTw289qPx3H
1 parent 8b37751 commit a39d310

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/metadata-protocol/src/package-unmanaged-install.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
* door, the REAL install primitive and the REAL uninstall run against it; its
3131
* write verbs route through the producer's own dispatch predicates.
3232
*/
33+
// Pays the lint root's first load at collection, never inside a clocked case.
34+
import './lint-root-preload.testkit.js';
3335
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
3436
import { assertEngineDeleteDispatch, assertEngineFindOnePredicate, assertEngineUpdateDispatch } from '@objectstack/metadata-core';
3537
import { ImportUnmanagedPackageResponseSchema } from '@objectstack/spec/api';

0 commit comments

Comments
 (0)