SetAppConfigParams
Parameters for setAppConfig.
Import:
import type { SetAppConfigParams } from 'obsidian-integration-testing';Signature:
export interface SetAppConfigParams extends GetAppConfigParamsExtends: GetAppConfigParams
Properties
| Property | Type | Description |
|---|---|---|
| configKey | string | The vault config key, e.g. settingsPopoutWindow. A plain string rather than obsidian-typings' ConfigItem, because obsidian-typings is only a development dependency of this package, so its types cannot appear in the published declarations, and because Obsidian itself accepts any key.(Inherited from GetAppConfigParams) |
| transport? | ObsidianTransport | Override the transport. When omitted, the transport the current test context is driving is used. (Inherited from GetAppConfigParams) |
| value | unknown | The value to write. undefined deletes the key, leaving Obsidian's own default in force. |
| vaultPath? | string | The vault whose Obsidian instance to read or write. When omitted, the current test context's vault is used. (Inherited from GetAppConfigParams) |
Links to this page: