scripts/test-tools.ts
- Entity ID:
ent-20260420-b01a00000019 - Type:
file - Scope:
shared - Status:
active - Aliases: tool loader smoke test
Description
Rebuild smoke test that preloads the shims then imports getTools from ./src/tools.js and prints the tool name list. Verifies all feature-gated and ant-gated null branches are cleanly filtered and that every registered tool's imports resolve at runtime. Complements the typecheck pass — many tool-import problems only surface at runtime because of dynamic imports.
Key claims
- Test scripts pattern: preload shims then dynamic-import the subsystem
Relations
- scripts/test-tools.ts --[verifies]--> src/tools Directory Layout