aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts
blob: c6a60e657aba685a3d66b57dcac14f3986bb8746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
import type { AggregatedResult, AssertionLocation } from '@jest/test-result';
import type { Config } from '@jest/types';
import { BaseWatchPlugin, JestHookSubscriber, UsageData } from 'jest-watcher';
declare class UpdateSnapshotInteractivePlugin extends BaseWatchPlugin {
    private _snapshotInteractiveMode;
    private _failedSnapshotTestAssertions;
    isInternal: true;
    getFailedSnapshotTestAssertions(testResults: AggregatedResult): Array<AssertionLocation>;
    apply(hooks: JestHookSubscriber): void;
    onKey(key: string): void;
    run(_globalConfig: Config.GlobalConfig, updateConfigAndRun: Function): Promise<void>;
    getUsageInfo(): UsageData | null;
}
export default UpdateSnapshotInteractivePlugin;