In monorepo setup you typically have multiple package.json files and it's common that a dependency like vitest is only defined in the root. As reported in #30 and #23 this is not currently supported.
This fix seems to be working for my Nx monorepo setup. Additionally I had to change the vitest command:
In monorepo setup you typically have multiple package.json files and it's common that a dependency like vitest is only defined in the root. As reported in #30 and #23 this is not currently supported.
This fix seems to be working for my Nx monorepo setup. Additionally I had to change the vitest command:
I copied the solution pretty much as-is from neotest-jest so all glory to guivazcabral.