aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts')
-rw-r--r--node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts b/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts
new file mode 100644
index 0000000..c6a60e6
--- /dev/null
+++ b/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts
@@ -0,0 +1,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;