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