UNPKG

@yathomasi/cypress-parallel

Version:

[![Build status](https://github.com/yathomasi/cypress-parallel/actions/workflows/build.yml/badge.svg)](https://github.com/yathomasi/cypress-parallel/actions/workflows/build.yml) [![Npm package weekly downloads](https://badgen.net/npm/dw/@yathomasi/cypress

18 lines (17 loc) 597 B
import { CypressParallelError } from "./error"; export interface WeighedFile { file: string; content: string; weight: number; } export interface UnweighedFile { file: string; content: string; } export interface UnweighedStrategy { (weighedFiles: WeighedFile[], unweighedFiles: UnweighedFile[], nodeCount: number): NodeSchedule[]; } export type NodeSchedule = (WeighedFile | UnweighedFile)[]; export declare class ConfigurationError extends CypressParallelError { } export declare function resolveCustomStrategy(searchFrom?: string): Promise<UnweighedStrategy | undefined>;