method WatchSession.close
WatchSession.close(): Promise<Abandoned>

Stops the watchers and closes the browser and server. Idempotent.

Resolves with whatever the cleanup grace gave up on, so a caller that intends to exit can wait for it rather than discover it as a process that will not end.

Return Type

Promise<Abandoned>

Usage

import { type WatchSession } from "lib/commands/test.ts";