UNPKG

@nx/jest

Version:

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

9 lines (8 loc) 567 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 findRootJestPreset(tree: Tree): string | null;