Skip to content

TestOptions

Options for running tests.

Import:

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

Signature:

export interface TestOptions

Properties

PropertyTypeDescription
esm?booleanWhether jest runs the suite as ES modules, which adds EXPERIMENTAL_VM_MODULES_FLAG to NODE_OPTIONS.
projects?string[]The projects to run, by their displayName, passed to jest's --selectProjects. Unlike vitest's runner, a name matches only itself: jest has no name:* form.

Links to this page: