Skip to content

testWatch

Runs the test suite in watch mode, with the project’s runner.

Import:

import { testWatch } from '@mnaoumov/typescript-dev-toolkit/test-runners/auto';

Signature:

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

Parameters:

Parameter Type Description
options TestOptions The TestWatchOptions.

Returns: Promise<void> — A Promise that resolves when the watcher exits.