mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-12-02 06:24:45 +01:00
19 lines
823 B
TypeScript
19 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 };
|