@yathomasi/cypress-parallel
Version:
[](https://github.com/yathomasi/cypress-parallel/actions/workflows/build.yml) [ • 795 B
TypeScript
import { CypressParallelError } from "./error";
import { UnweighedStrategy } from "./unweighed-strategy";
export interface NodeConfiguration {
index: number;
count: number;
}
export interface IParallelConfiguration {
readonly useYarn?: boolean;
readonly cypressRunCommand: string;
readonly node: NodeConfiguration;
readonly knapsack: string;
readonly writeKnapsack?: string;
readonly readKnapsack?: string;
readonly disableKnapsackOutput: boolean;
readonly unweighedStrategy: "estimate" | "distribute" | UnweighedStrategy;
}
export declare class NodeConfigurationParseError extends CypressParallelError {
}
export declare function parseAndValidateNodeConfiguration(unparsedIndex: string, unparsedCount: string): {
index: number;
count: number;
};