@nx/jest
Version:
9 lines (8 loc) • 567 B
TypeScript
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;