assessment-model/vitest
Khalim Conn-Kowlessar 752eb5ecb7 test: stub server-only under Vitest
The scenario-metrics route test now imports a module chain
(route → overlay.ts) that carries `import "server-only"`, which Vite can't
resolve to a Node entry. Alias it to an empty stub so the guard stays in app
code while Node-env tests load. Full suite: 600 passing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 14:28:11 +01:00
..
server-only-stub.ts test: stub server-only under Vitest 2026-07-20 14:28:11 +01:00