Updating NPM dependencies
This commit is contained in:
38
node_modules/jest-snapshot/build/State.d.ts
generated
vendored
38
node_modules/jest-snapshot/build/State.d.ts
generated
vendored
@@ -4,20 +4,33 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
import { Config } from '@jest/types';
|
||||
import type { Config } from '@jest/types';
|
||||
import type { BabelTraverse, Prettier } from './types';
|
||||
export declare type SnapshotStateOptions = {
|
||||
updateSnapshot: Config.SnapshotUpdateState;
|
||||
getPrettier: () => null | any;
|
||||
getBabelTraverse: () => Function;
|
||||
getPrettier: () => null | Prettier;
|
||||
getBabelTraverse: () => BabelTraverse;
|
||||
expand?: boolean;
|
||||
};
|
||||
export declare type SnapshotMatchOptions = {
|
||||
testName: string;
|
||||
received: any;
|
||||
received: unknown;
|
||||
key?: string;
|
||||
inlineSnapshot?: string;
|
||||
isInline: boolean;
|
||||
error?: Error;
|
||||
};
|
||||
declare type SnapshotReturnOptions = {
|
||||
actual: string;
|
||||
count: number;
|
||||
expected?: string;
|
||||
key: string;
|
||||
pass: boolean;
|
||||
};
|
||||
declare type SaveStatus = {
|
||||
deleted: boolean;
|
||||
saved: boolean;
|
||||
};
|
||||
export default class SnapshotState {
|
||||
private _counters;
|
||||
private _dirty;
|
||||
@@ -39,20 +52,11 @@ export default class SnapshotState {
|
||||
markSnapshotsAsCheckedForTest(testName: string): void;
|
||||
private _addSnapshot;
|
||||
clear(): void;
|
||||
save(): {
|
||||
deleted: boolean;
|
||||
saved: boolean;
|
||||
};
|
||||
save(): SaveStatus;
|
||||
getUncheckedCount(): number;
|
||||
getUncheckedKeys(): Array<string>;
|
||||
removeUncheckedKeys(): void;
|
||||
match({ testName, received, key, inlineSnapshot, error, }: SnapshotMatchOptions): {
|
||||
actual: string;
|
||||
count: number;
|
||||
expected: string | null;
|
||||
key: string;
|
||||
pass: boolean;
|
||||
};
|
||||
fail(testName: string, _received: any, key?: string): string;
|
||||
match({ testName, received, key, inlineSnapshot, isInline, error, }: SnapshotMatchOptions): SnapshotReturnOptions;
|
||||
fail(testName: string, _received: unknown, key?: string): string;
|
||||
}
|
||||
//# sourceMappingURL=State.d.ts.map
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user