Skip to content

DefineObsidianPluginVitestConfigOptions.customProjects method

DefineObsidianPluginVitestConfigOptions › customProjects

A function that builds projects the base configuration does not know about, such as a plugin's own integration-tests:demo-vault project. The returned projects are appended after the standard five.

Signature:

customProjects(context: ObsidianPluginVitestConfigContext): TestProjectConfiguration[]

Parameters:

ParameterTypeDescription
contextObsidianPluginVitestConfigContextThe vitest configuration context.

Returns: TestProjectConfiguration[]The extra projects.