Skip to content

test

Runs the test suite.

Import:

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

Signature:

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

Parameters:

ParameterTypeDescription
optionsTestOptionsThe options for the test.

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


Links to this page: