explore-frontend / vscode-vitest-runner

Run your testcase by vitest.
https://marketplace.visualstudio.com/items?itemName=kingwl.vscode-vitest-runner
MIT License
23 stars 20 forks source link

Path Resolve Error #5

Closed Hyphon closed 2 years ago

Hyphon commented 2 years ago

extension version: v0.0.3 vscode version: 1.67.1

dependencies: vite: 2.9.9 vitets: 0.12.4

with unplugin-vue-components, when i run test, there is an error :

[Error: ENOENT: no such file or directory, open '${projectPath}\src\xxx\__tests__\src\components.d.ts'] {
     errno: -4058,
     code: 'ENOENT',
     syscall: 'open'
}

it seems like cannot resolve the components.d.ts file