The tsconfig uses baseUrl: "." which allows imports like "src/..." to resolve correctly for tsc, but vitest doesn't read tsconfig paths by default. This adds a resolve.alias to map "src" to the actual source directory so tests can resolve these imports. Fixes ToolPermissionService test failures (TypeError: ToolPermissionService is not a constructor) caused by failed module resolution of "src/..." paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| intellij | ||
| vscode | ||