@currents/nx
Version:
Currents plugin for Nx
31 lines (30 loc) • 828 B
TypeScript
import { ExecutorContext } from '@nx/devkit';
export type Json = {
[k: string]: unknown;
};
export interface CypressExecutorOptions extends Json {
cwd: string;
cloudServiceUrl?: string;
cypressConfig: string;
watch?: boolean;
tsConfig?: string;
devServerTarget?: string;
key?: string;
record?: boolean;
parallel?: boolean;
baseUrl?: string;
browser?: string;
env?: Record<string, string>;
spec?: string;
ciBuildId?: string | number;
group?: string;
ignoreTestFiles?: string;
reporter?: string;
reporterOptions?: string;
skipServe?: boolean;
testingType?: 'component' | 'e2e';
tag?: string;
}
export default function cypressExecutor(options: CypressExecutorOptions, context: ExecutorContext): Promise<{
success: boolean | undefined;
}>;