Skip to content

Commit 5aad062

Browse files
committed
test(metadata-protocol): pay the lint load during collection in the uninstall harness
Claude-Session: https://claude.ai/code/session_017ihL2bwU56eMCkj69h7Gd8 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3e748ed commit 5aad062

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/metadata-protocol/src/protocol.package-delete-refusal.test.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
import { describe, it, expect, vi } from 'vitest';
5555
import { resolveThrownHttpError } from '@objectstack/types';
5656
import { ObjectStackProtocolImplementation } from './index.js';
57+
// Paid during collection, not inside a case's clock: the source reaches `@objectstack/lint`
58+
// through a dynamic import (`check:test-source-alias`).
59+
import '@objectstack/lint';
5760

5861
const PKG = 'com.example.leave';
5962

0 commit comments

Comments
 (0)