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

Failed to load url `vitest.setup.ts` #15

Open aldrichdev opened 4 months ago

aldrichdev commented 4 months ago

I see this every time I click Run(Vitest), am I doing something wrong? My vitest.setup.ts file exists in a different folder than the folder where the test lives, but there doesn't seem to be a config setting to change the setup file path.

FAIL  module.test.tsx [ module.test.tsx ]
Error: Failed to load url <obfuscated-path-to-project>/src/mapping/obf/vitest.setup.ts (resolved id: <obfuscated-path-to-project>/src/mapping/obf/vitest.setup.ts). Does the file exist?