Skip to content

TestOptions

Options for running tests.

Import:

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

Signature:

export interface TestOptions

Properties

PropertyTypeDescription
esm?booleanWhether jest runs the suite as ES modules. Vitest ignores it.
projects?string[]The projects to run. Vitest also runs each one's name:* sub-projects; jest matches a displayName exactly.
runner?TestRunnerThe runner to use. Omitted, detectTestRunner chooses it.

Links to this page: