1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import type { Config } from '@jest/types';
|
9 | import { BaseWatchPlugin, JestHookSubscriber, UpdateConfigCallback, UsageData } from 'jest-watcher';
|
10 | declare class UpdateSnapshotsPlugin extends BaseWatchPlugin {
|
11 | private _hasSnapshotFailure;
|
12 | isInternal: true;
|
13 | constructor(options: {
|
14 | stdin: NodeJS.ReadStream;
|
15 | stdout: NodeJS.WriteStream;
|
16 | });
|
17 | run(_globalConfig: Config.GlobalConfig, updateConfigAndRun: UpdateConfigCallback): Promise<boolean>;
|
18 | apply(hooks: JestHookSubscriber): void;
|
19 | getUsageInfo(): UsageData | null;
|
20 | }
|
21 | export default UpdateSnapshotsPlugin;
|