Skip to content

ApplyObsidianThemeParams

Parameters for applyObsidianTheme.

Import:

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

Signature:

export interface ApplyObsidianThemeParams

Properties

PropertyTypeDescription
themeObsidianThemeThe theme to switch to.
timeoutInMilliseconds?numberHow long to wait for the theme to be applied and saved.
transport?ObsidianTransportOverride the transport. When omitted, the transport the current test context is driving is used.
vaultPath?stringThe vault whose Obsidian window to switch. When omitted, the current test context's vault is used.

Links to this page: