UNPKG

@nx/jest

Version:

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

39 lines (35 loc) 799 B
export interface JestProjectSchema { project: string; targetName?: string; supportTsx?: boolean; /** * @deprecated use setupFile instead */ skipSetupFile?: boolean; setupFile?: | 'angular' | 'web-components' | 'react-native' | 'react-router' | 'none'; skipSerializers?: boolean; testEnvironment?: 'node' | 'jsdom' | 'none'; /** * @deprecated use compiler: "babel" instead */ babelJest?: boolean; skipFormat?: boolean; addPlugin?: boolean; compiler?: 'tsc' | 'babel' | 'swc'; skipPackageJson?: boolean; js?: boolean; runtimeTsconfigFileName?: string; /** * @internal */ addExplicitTargets?: boolean; } export type NormalizedJestProjectSchema = JestProjectSchema & { rootProject: boolean; isTsSolutionSetup: boolean; };