vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Vitest extension does not share with live share

Open jaresty opened this issue 1 year ago • 4 comments

Describe the bug

I cannot view or run tests as a guest in a live share session

Reproduction

Reproduction steps:

  1. Install test explorer live share and live share extensions
  2. Start a live share session
  3. Open the link in a browser which should open a local live share session
  4. “Trust” the workspace
  5. 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

jaresty avatar Mar 16 '24 23:03 jaresty

I just ran into this issue, but after taking a peek at the docs, we found this:

Image

And after running with npx vitest --api.host=0.0.0.0 --ui, it worked

might be beneficial to add to the FAQ?

averwhy avatar Mar 20 '25 03:03 averwhy

I just ran into this issue, but after taking a peek at the docs, we found this:

Image

And after running with npx vitest --api.host=0.0.0.0 --ui, it worked

might be beneficial to add to the FAQ?

I don't see how this is related to the vscode extension?

sheremet-va avatar Jun 14 '25 09:06 sheremet-va