vitest-dev / vitest-dev/vscode
Monorepo instructions are unclear, samples not working
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 924
- Forks
- 122
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 6
Description
Describe the bug
Currently, there is (some) support for monorepos, but how to actually get extension working for monorepos is unclear.
The monorepo examples in /samples don't work out of the box as well.
To Reproduce
Steps to reproduce the behavior on the example project:
- Clone this repository
- Open
samples/monorepoin vscode - Install the extension
- Run pnpm install
- Run all tests from the extension
Expected behavior
The tests should run successfully.
Screenshots
If applicable, add screenshots to help explain your problem.

Environment
(Paste info.txt content generated by the example project)
{
"System": {
"OS": "macOS 12.3.1"
},
"Binaries": {
"Node": {
"version": "16.14.0",
"path": "~/.nodenv/versions/16.14.0/bin/node"
},
"Yarn": {
"version": "1.22.15",
"path": "~/.nodenv/versions/16.14.0/bin/yarn"
},
"npm": {
"version": "8.3.1",
"path": "~/.nodenv/versions/16.14.0/bin/npm"
}
},
"IDEs": {
"VSCode": {
"version": "1.70.2",
"path": "/opt/homebrew/bin/code"
}
},
"npmPackages": {
"vite": {
"installed": "2.9.15",
"wanted": "^2.9.9"
},
"vitest": {
"installed": "0.12.10",
"wanted": "^0.12.6"
}
}
}
Additional context
Add any other context about the problem here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by opening /samples/monorepo in VS Code, following the listed reproduction steps, and comparing it with the linked vitest-ext-basic-example project. Run pnpm install and all tests from the extension to identify why the sample does not work out of the box. Done means the monorepo instructions are clear and the sample tests run successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100