astro-ghostcms/.pnpm-store/v3/files/3b/4fb6a0541cac0b17c16714a881d...

19 lines
823 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
import { S as SnapshotStateOptions, e as SnapshotSummary, b as SnapshotResult } from './index-K5cwkiJB.js';
import 'pretty-format';
import './environment-1emuyggI.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 };