Skip to content

testWatch

Runs the test suite in watch mode.

Import:

import { testWatch } from 'obsidian-dev-utils/script-utils/test-runners/vitest';

Signature:

function testWatch(options: TestOptions): Promise<void>

Parameters:

ParameterTypeDescription
optionsTestOptionsThe options for the test.

Returns: Promise<void> — A Promise that resolves when the tests have completed.