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

27 lines (26 loc) 1.1 kB
export declare class KnapsackProEnvConfig { private static $fixedQueueSplit; private static $knapsackProLogger; static get endpoint(): string; static get testSuiteToken(): string | never; static get fixedQueueSplit(): boolean; private static parseBoolean; private static logOverwrittenEnv; private static envFor; static get ciNodeTotal(): number | never; static get ciNodeIndex(): number | never; static get ciNodeBuildId(): string | never; static get ciNodeRetryCount(): number; static get commitHash(): string | never; static get branch(): string | never; static get logLevel(): string; static get testFileListSourceFile(): string | void; static get maskedUserSeat(): string | void; } export declare const buildAuthor: (command?: () => NonSharedBuffer) => string; export declare const isShallowRepository: (command?: () => NonSharedBuffer) => boolean; export declare const commitAuthors: (command?: () => NonSharedBuffer) => { commits: number; author: string; }[]; export declare const ciProvider: () => string | null;