1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import type { AggregatedResult, AssertionLocation } from '@jest/test-result';
|
9 | declare type RunnerUpdateFunction = (failure?: AssertionLocation) => void;
|
10 | export default class FailedTestsInteractiveMode {
|
11 | private _pipe;
|
12 | private _isActive;
|
13 | private _countPaths;
|
14 | private _skippedNum;
|
15 | private _testAssertions;
|
16 | private _updateTestRunnerConfig?;
|
17 | constructor(_pipe: NodeJS.WritableStream);
|
18 | isActive(): boolean;
|
19 | put(key: string): void;
|
20 | run(failedTestAssertions: Array<AssertionLocation>, updateConfig: RunnerUpdateFunction): void;
|
21 | updateWithResults(results: AggregatedResult): void;
|
22 | private _clearTestSummary;
|
23 | private _drawUIDone;
|
24 | private _drawUIDoneWithSkipped;
|
25 | private _drawUIProgress;
|
26 | private _drawUIOverlay;
|
27 | private _run;
|
28 | private abort;
|
29 | private restart;
|
30 | }
|
31 | export {};
|