UNPKG

777 BTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7/// <reference types="node" />
8import type { Config } from '@jest/types';
9import { BaseWatchPlugin, UpdateConfigCallback, UsageData } from 'jest-watcher';
10declare class TestPathPatternPlugin extends BaseWatchPlugin {
11 private _prompt;
12 isInternal: true;
13 constructor(options: {
14 stdin: NodeJS.ReadStream;
15 stdout: NodeJS.WriteStream;
16 });
17 getUsageInfo(): UsageData;
18 onKey(key: string): void;
19 run(globalConfig: Config.GlobalConfig, updateConfigAndRun: UpdateConfigCallback): Promise<void>;
20}
21export default TestPathPatternPlugin;