Skip to content

testEndToEndWithObsidianTest

Runs the end-to-end tests with obsidian-test. It is the body of a plugin’s test:e2e script.

Import:

import { testEndToEndWithObsidianTest } from '@mnaoumov/obsidian-dev-toolkit/test-runners/obsidian-test-runner';

Signature:

function testEndToEndWithObsidianTest(options: TestEndToEndWithObsidianTestOptions): Promise<void>

Parameters:

Parameter Type Description
options TestEndToEndWithObsidianTestOptions The TestEndToEndWithObsidianTestOptions.

Returns: Promise<void> — A Promise that resolves once the tests pass.


Links to this page: