I am using pnpm as package manager and workspace for the monorepo.
I have noticed an issue, where your plugin couldn't detect the test files in sub-packages inside the monorepo (directory packages/).
I have vitest installed at the root of the monorepo, and none of the packages has vitest as dependency in their own package.json file.
Temporary workaround
The workaround is to install vitest as dependency in each of a package, then your plugin will detect the files.
Hi,
thank you for this fantastic plugin :heart:
Problem description
I am using
pnpm
as package manager and workspace for the monorepo. I have noticed an issue, where your plugin couldn't detect the test files in sub-packages inside the monorepo (directorypackages/
). I havevitest
installed at the root of the monorepo, and none of the packages hasvitest
as dependency in their ownpackage.json
file.Temporary workaround
The workaround is to install
vitest
as dependency in each of a package, then your plugin will detect the files.