UNPKG

testplane

Version:

Tests framework based on mocha and wdio

20 lines (19 loc) 844 B
import type { Config } from "../../../config"; import type { MainRunner } from "../../../runner"; import type { Test } from "../../../types"; interface SelectivityRunnerOptions { shouldDisableSelectivity?: boolean; } export declare class SelectivityRunner { private readonly _config; private readonly _runTestFn; private readonly _opts?; private readonly _browserSelectivityDisabledCache; private readonly _processingTestPromises; static create(...args: ConstructorParameters<typeof this>): SelectivityRunner; constructor(mainRunner: MainRunner, config: Config, runTestFn: (test: Test, browserId: string) => void, opts?: SelectivityRunnerOptions); private _shouldDisableSelectivityForBrowser; startTestCheckToRun(test: Test, browserId: string): void; runNecessaryTests(): Promise<void>; } export {};