Skip to content

Commit 15e4188

Browse files
committed
test(metadata-protocol): pay the save door's lint load at collection
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB
1 parent 13ff81c commit 15e4188

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/metadata-protocol/src/protocol-translated-echo.test.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ import { translateObject, type TranslationBundle } from '@objectstack/spec/syste
1616
import { QUEUE_FIELD_DEF, OWNER_FIELD_DEF } from '@objectstack/spec/data';
1717
import { restoreTranslatedEchoes, translatedEchoLocales } from './protocol-translated-echo.js';
1818
import { ProtocolDiscoveryAndBasesFacet } from './protocol-discovery-and-bases.js';
19+
// The save door's module reaches `@objectstack/lint` through dynamic imports;
20+
// its first load is paid here, during collection, never inside a case's clock.
21+
import '@objectstack/lint';
1922

2023
const bundle: TranslationBundle = {
2124
'zh-CN': {

0 commit comments

Comments
 (0)