vscode
vscode copied to clipboard
Vitest extension does not share with live share
Describe the bug
I cannot view or run tests as a guest in a live share session
Reproduction
Reproduction steps:
- Install test explorer live share and live share extensions
- Start a live share session
- Open the link in a browser which should open a local live share session
- “Trust” the workspace
- You will not see any buttons on the guest live share to run the tests or see any test output
System Info
macOS / vscode
Used Package Manager
npm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- [X] The provided reproduction is a minimal reproducible example of the bug.
I just ran into this issue, but after taking a peek at the docs, we found this:
And after running with npx vitest --api.host=0.0.0.0 --ui, it worked
might be beneficial to add to the FAQ?
I just ran into this issue, but after taking a peek at the docs, we found this:
And after running with
npx vitest --api.host=0.0.0.0 --ui, it workedmight be beneficial to add to the FAQ?
I don't see how this is related to the vscode extension?