Closed Mr-xzq closed 2 years ago
For Vitest Runner, the working directory is the package directory, and command line alike following:
$ cd playground
$ npm exec -- vitest run -t test1 __tests__/auto-script-jsx.spec.js
It means different package could have different Vitest configuration because of npm workspaces. You can move vitest.config.js to playground directory, and adjust the configuration and try again.
Thank you very much for your answer, this solved my problem.
When add include, cause an exception to trigger:
Error log:
More info: