Skip to content

run-version-matrix

Integration-time runner that executes a suite once per distinct supported Obsidian version.

Thin glue over the pure version-matrix.ts decision layer: the only things that happen here are the single manifest fetch and the logging. Everything that decides — normalizing the requested specifiers, resolving them, de-duplicating on the resolved version, sequencing the runs, and building the failure summary — is pure and unit-tested next door.

The loop lives above the transport rather than inside it because a test framework’s global setup cannot re-run its own test files: it launches one instance for one run. Keeping the loop framework-agnostic (the caller supplies run) is what lets Vitest, Jest, and manual consumers all inherit it (L6).

InterfaceDescription
RunObsidianVersionMatrixParamsParameters for runObsidianVersionMatrix.
FunctionDescription
runObsidianVersionMatrixRuns a suite once per distinct supported Obsidian version.