Skip to content

ObsidianCdpTransportOptions.isHarnessOwnedInstance?

ObsidianCdpTransportOptions › isHarnessOwnedInstance?

Type: boolean | undefined

Marks port as the CDP port of a **harness-owned, isolated instance** that the global setup already launched and prepared (vault registered, plugin enabled).

Populated automatically by the global setup and provided to test workers via the framework's context mechanism (e.g. Vitest provide/inject). When set, the worker **attaches** to the owned instance on port instead of launching its own, and skips the user-scope vault-registration preflight — the owned instance's vault lives in an isolated user-data config, not the user-scope registry. Do not set this manually; for plain attach mode use port alone.