Files
memecoin-botV2/.pnpm-store/v10/files/14/452c03f2d58c0a22101a1e08747457df9a7f4f50e5bf5bdc87f8e79814041df63ba522407e977bdfbc85c4b38c9347577b7a5d192114d87dd73ba66ddf458c

18 lines
659 B
Plaintext

import { ParsedStack } from '@vitest/utils';
interface SnapshotEnvironment {
getVersion: () => string;
getHeader: () => string;
resolvePath: (filepath: string) => Promise<string>;
resolveRawPath: (testPath: string, rawPath: string) => Promise<string>;
saveSnapshotFile: (filepath: string, snapshot: string) => Promise<void>;
readSnapshotFile: (filepath: string) => Promise<string | null>;
removeSnapshotFile: (filepath: string) => Promise<void>;
processStackTrace?: (stack: ParsedStack) => ParsedStack;
}
interface SnapshotEnvironmentOptions {
snapshotsDirName?: string;
}
export type { SnapshotEnvironment as S, SnapshotEnvironmentOptions as a };