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

Does not work with vitest@0.32.2 #9

Closed Wyatex closed 1 year ago

Wyatex commented 1 year ago

It didn't work when I updated vitest to a latest version. This is the output of the console:

 DEV  v0.32.2 d:/my-project

      API started at http://127.0.0.1:65401

filter:  /my-project/tests/auth.test.ts

include: **/*.test.ts

exclude:  **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*

watch exclude:  **/node_modules/**, **/dist/**

No test files found, exiting with code 1

But if you use npx vitest run it works fine