Interfaces

I
DaemonInfo

Sidecar JSON file written next to the socket; lets daemon status show details without an IPC roundtrip.

I
DaemonRunOptions

The options a daemon run accepts: everything from UserRunOptions that survives a socket.

I
PingRequest

Client → daemon: liveness/identity probe.

I
RunRequest

Client → daemon: request to execute a test run with the given argv/env in the daemon's persistent Chrome.

  • argv: string[]

    CLI arguments after qunitx (i.e. process.argv.slice(2)).

  • cwd: string

    Client's working directory. The daemon rejects mismatched cwds (different project).

  • env: Record<string, string | undefined>

    Client's full process environment, applied to the run and restored on completion.

  • nodeVersion: string

    Client's process.version. The daemon shuts down on mismatch to avoid module-graph drift.

  • options: DaemonRunOptions

    Resolved options, when the request came from the JS API rather than a command line. Present means "build the config from these and answer with a result chunk"; absent means the daemon parses argv exactly as the CLI would.

  • type: "run"

    Discriminator for the protocol union; always 'run' for this variant.

I
ShutdownRequest

Client → daemon: graceful shutdown request.

Type Aliases