UNPKG

@nx/jest

Version:

The Nx Plugin for Jest contains executors and generators allowing your workspace to use the powerful Jest testing capabilities.

10 lines (9 loc) 655 B
import { type Tree } from '@nx/devkit'; export declare const jestConfigExtensions: readonly ['js', 'ts', 'mjs', 'cjs', 'mts', 'cts']; export type JestConfigExtension = (typeof jestConfigExtensions)[number]; export declare const jestPresetExtensions: readonly ['js', 'cjs', 'mjs']; export type JestPresetExtension = (typeof jestPresetExtensions)[number]; export declare function getPresetExt(tree: Tree): JestPresetExtension; export declare function findRootJestConfig(tree: Tree): string | null; export declare function findJestConfig(tree: Tree, projectPath: string): string | null; export declare function findRootJestPreset(tree: Tree): string | null;