DetectPluginUnloadLeakParams
Parameters for detectPluginUnloadLeak.
Import:
import type { DetectPluginUnloadLeakParams } from 'obsidian-integration-testing';Signature:
export interface DetectPluginUnloadLeakParams extends PluginLifecycleTargetExtends: PluginLifecycleTarget
Properties
| Property | Type | Description |
|---|---|---|
| pluginId | string | The id of the plugin to act on. Its files must be in the vault's plugins folder.(Inherited from PluginLifecycleTarget) |
| shouldReenable? | boolean | Whether to enable the plugin again afterwards, so the rest of the suite finds it as it was. |
| transport? | ObsidianTransport | Override the transport. When omitted, the transport the current test context is driving is used. (Inherited from PluginLifecycleTarget) |
| vaultPath? | string | The vault whose Obsidian instance to act in. When omitted, the current test context's vault is used. (Inherited from PluginLifecycleTarget) |
Links to this page: