wrangler-action/node_modules/@vitest/snapshot/dist/manager.d.ts
2023-08-07 15:11:15 -05:00

18 lines
823 B
TypeScript

import { S as SnapshotStateOptions, e as SnapshotSummary, b as SnapshotResult } from './index-6461367c.js';
import 'pretty-format';
import './environment-38cdead3.js';
declare class SnapshotManager {
options: Omit<SnapshotStateOptions, 'snapshotEnvironment'>;
summary: SnapshotSummary;
extension: string;
constructor(options: Omit<SnapshotStateOptions, 'snapshotEnvironment'>);
clear(): void;
add(result: SnapshotResult): void;
resolvePath(testPath: string): string;
resolveRawPath(testPath: string, rawPath: string): string;
}
declare function emptySummary(options: Omit<SnapshotStateOptions, 'snapshotEnvironment'>): SnapshotSummary;
declare function addSnapshotResult(summary: SnapshotSummary, result: SnapshotResult): void;
export { SnapshotManager, addSnapshotResult, emptySummary };