Skip to content

getIntegrationTestPluginPopulate

Builds the vault-relative file map that installs the shipped integration-test harness plugin, ready to hand to a global setup’s populate (or to merge into a larger map the consumer already builds).

The result is a Record<string, Uint8Array>, which is assignable to obsidian-integration-testing’s PopulateFilesParams — so it composes with buildDemoVaultPopulate and friends.

Import:

import { getIntegrationTestPluginPopulate } from 'obsidian-dev-utils/script-utils/test-runners/integration-test-plugin';

Signature:

function getIntegrationTestPluginPopulate(): Record<string, Uint8Array<ArrayBufferLike>>

Returns: Record<string, Uint8Array<ArrayBufferLike>> — The map of vault-relative paths to file contents.