UNPKG

@knapsack-pro/core

Version:

Knapsack Pro Core library splits tests across CI nodes and makes sure that tests will run in optimal time on each CI node. This library gives core features like communication with KnapsackPro.com API. This library is a dependency for other projects specif

10 lines (9 loc) 374 B
import { TestFile } from './models'; export declare class FallbackTestDistributor { private executedTestFilePaths; private testFilesPerCiNode; constructor(allTestFiles: TestFile[], executedTestFiles: TestFile[], ciNodeTotal?: number); testFilesForCiNode(ciNodeIndex?: number): TestFile[]; private orderByTestPath; private assignTestFilesPerCiNode; }