1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { PatternPrompt, Prompt, ScrollOptions } from 'jest-watcher';
|
9 | import type { TestResult } from '@jest/test-result';
|
10 | export default class TestNamePatternPrompt extends PatternPrompt {
|
11 | _cachedTestResults: Array<TestResult>;
|
12 | constructor(pipe: NodeJS.WritableStream, prompt: Prompt);
|
13 | _onChange(pattern: string, options: ScrollOptions): void;
|
14 | _printPrompt(pattern: string): void;
|
15 | _getMatchedTests(pattern: string): Array<string>;
|
16 | updateCachedTestResults(testResults?: Array<TestResult>): void;
|
17 | }
|