cypress-load-balancer
Version:
A simple load balancer for Cypress tests.
11 lines (10 loc) • 512 B
TypeScript
import { LoadBalancingMap } from "./types";
/**
* Merges load balancing maps back to an original object.
* This should be executed after parallel jobs finish
* to collect their results and merge them to the original master file
* Does not save the original file, so that will need to be done separately.
* @param orig {LoadBalancingMap}
* @param extraMaps {LoadBalancingMap[]}
*/
export default function mergeLoadBalancingMapFiles(orig: LoadBalancingMap, extraMaps: LoadBalancingMap[]): LoadBalancingMap;