Not working on macOS
See original GitHub issueDescribe the bug Maybe I didn’t use the addon in the correct way? But simply put, the addon is not working at all. After installing it, I saw the testing tab, I saw the little error beside the test, but no matter where I click, the test is not running.
To Reproduce
- Git clone this repository:
https://github.com/zxch3n/vitest-ext-basic-example - Run
node setup.mjs. - Open it with VSCode.
- Click on the arrow beside the test to start testing. Nothing happens.
Expected behavior It should start testing.
Screenshots

Environment
{
"System": {
"OS": "macOS 12.4"
},
"Binaries": {
"Node": {
"version": "18.2.0",
"path": "~/.nvm/versions/node/v18.2.0/bin/node"
},
"Yarn": {
"version": "1.22.18",
"path": "/usr/local/bin/yarn"
},
"npm": {
"version": "8.9.0",
"path": "~/.nvm/versions/node/v18.2.0/bin/npm"
}
},
"IDEs": {
"VSCode": {
"version": "1.67.2",
"path": "/usr/local/bin/code"
}
},
"npmPackages": {
"vite": {
"installed": "2.9.9",
"wanted": "^2.9.9"
},
"vitest": {
"installed": "0.12.10",
"wanted": "^0.12.6"
}
}
}
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:11 (2 by maintainers)
Top Results From Across the Web
If your Mac doesn't turn on - Apple Support
If your Mac doesn't turn on · Check power connections · Press and hold the power button · Unplug accessories · If you...
Read more >What to do if your MacBook is not responding? - CleanMyMac X
Solved: MacBook not responding · 1. Use Force Quit · 2. Reboot your Mac · 3. Update your Mac · 4. Clean up...
Read more >MacBook won't turn on? Here's how to fix it - Macworld
Don't be the cliché: check that the power is on and the Mac is plugged in correctly. Or if it's a laptop, be...
Read more >Common MacBook Problems and How to Fix Them
Try manually restarting and opening in Safe mode if possible. If there are any updates that can be applied to MacOS, try updating...
Read more >Top 15 Problems for macOS 10.15 & How to Fix Them
13. Mac won't boot · 1. Reboot Mac and hold Command + R to go into recovery mode · 2. Release the keys...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@zxch3n Hi,
After I started the
1 + 1 = 2test by clicking here using the pre-release versionI got the following output:
Seems like the test is skipped. By the way, when I ran the test manually outside of VSCode using the following command:
The test is passed as expected:
Same issue for me on linux, it looks like the websocket never connects (no WS Open message). I can confirm downgrading
vitestworks. Using latest vitest 0.22.1 and extension 0.2.28