Skip to content

resolveMissingInjectedPlugins

Selects the injected plugins that the headless bootstrap has to (re-)install — the exact set buildDemoVaultPopulate would otherwise throw on: those whose binaries are missing from the demo vault, and those whose installed copy is stale (see resolveInjectedPluginStaleReason).

Plugins carrying an explicit InjectPluginParams.sourceDirectory are excluded: that names a local build output, not somewhere to download a published release into.

Shared with the bootstrap so “missing” and “stale” each have one definition rather than two that can drift apart.

Import:

import { resolveMissingInjectedPlugins } from 'obsidian-integration-testing';

Signature:

function resolveMissingInjectedPlugins(params: ResolveMissingInjectedPluginsParams): InjectPluginParams[]

Parameters:

Parameter Type Description
params ResolveMissingInjectedPluginsParams The ResolveMissingInjectedPluginsParams.

Returns: InjectPluginParams[] — The plugins to bootstrap, in the order given.


Links to this page: