UNPKG

@nx/cypress

Version:

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

17 lines 1.02 kB
import type { ExecutorContext, ProjectGraph } from '@nx/devkit'; import { ProjectConfiguration, TargetConfiguration } from '@nx/devkit'; export declare const CY_FILE_MATCHER: RegExp; /** * return a path to a temp css file * temp file is scoped to the project root * i.e. <context.root>/tmp/<project-root>/ct-styles.css */ export declare function getTempTailwindPath(context: ExecutorContext): string; /** * Checks if the childProjectName is a descendent of the parentProjectName * in the project graph **/ export declare function isCtProjectUsingBuildProject(graph: ProjectGraph, parentProjectName: string, childProjectName: string, seen?: Set<string>): boolean; export declare function getProjectConfigByPath(graph: ProjectGraph, configPath: string): ProjectConfiguration; export declare function createExecutorContext(graph: ProjectGraph, targets: Record<string, TargetConfiguration>, projectName: string, targetName: string, configurationName: string): ExecutorContext; //# sourceMappingURL=ct-helpers.d.ts.map