Skip to content

resolveMissingInjectedPlugins

Selects the injected plugins whose binaries are missing from the demo vault and can therefore be installed headlessly — the exact set buildDemoVaultPopulate would otherwise throw on.

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” has one definition rather than two that can drift apart.

Import:

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

Signature:

function resolveMissingInjectedPlugins(params: ResolveMissingInjectedPluginsParams): InjectPluginParams[]

Parameters:

ParameterTypeDescription
paramsResolveMissingInjectedPluginsParamsThe ResolveMissingInjectedPluginsParams.

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


Links to this page: