Skip to content

DetectPluginUnloadLeakParams

Parameters for detectPluginUnloadLeak.

Import:

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

Signature:

export interface DetectPluginUnloadLeakParams extends PluginLifecycleTarget

Extends: PluginLifecycleTarget

Properties

PropertyTypeDescription
pluginIdstringThe id of the plugin to act on. Its files must be in the vault's plugins folder.
(Inherited from PluginLifecycleTarget)
shouldReenable?booleanWhether to enable the plugin again afterwards, so the rest of the suite finds it as it was.
transport?ObsidianTransportOverride the transport. When omitted, the transport the current test context is driving is used.
(Inherited from PluginLifecycleTarget)
vaultPath?stringThe vault whose Obsidian instance to act in. When omitted, the current test context's vault is used.
(Inherited from PluginLifecycleTarget)

Links to this page: