Skip to content

Split public and browser WS server  #3138

@sheremet-va

Description

@sheremet-va

Clear and concise description of the problem

Currently, browser and public-facing API share the same web socket reporter. We should limit public usage and move browser methods into their own reporter so it's easier to manage and not break public API.

Suggested solution

Move browser methods from packages/vitest/src/api/setup.ts into their own reporter (or better just as create a separate rpc).

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat: browserIssues and PRs related to the browser runner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions