UNPKG

@nx/cypress

Version:

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

13 lines 678 B
import type { Tree } from '@nx/devkit'; /** * Add or update the webServerCommands and ciWebServerCommand options in the Cypress Config * Scenarios Covered: * 1. Only devServerTarget Exists * 2. devServerTarget and configuration.ci.devServerTarget Exists * * For each, the following scenarios are covered: * a. The command is not listed in the config, so it is added * b. Replace the existing webServerCommands with the value passed in */ export declare function addDevServerTargetToConfig(tree: Tree, configFilePath: string, webServerCommands: Record<string, string>, ciDevServerTarget?: string): void; //# sourceMappingURL=add-dev-server-target-to-config.d.ts.map