Skip to content

PluginLifecycleTarget

Which plugin, and where. Shared by both helpers here.

Import:

import type { PluginLifecycleTarget } from 'obsidian-integration-testing';

Signature:

export interface PluginLifecycleTarget

Properties

PropertyTypeDescription
pluginIdstringThe id of the plugin to act on. Its files must be in the vault's plugins folder.
transport?ObsidianTransportOverride the transport. When omitted, the transport the current test context is driving is used.
vaultPath?stringThe vault whose Obsidian instance to act in. When omitted, the current test context's vault is used.

Links to this page: