mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-12-01 22:14:45 +01:00
12 lines
495 B
TypeScript
12 lines
495 B
TypeScript
interface SnapshotEnvironment {
|
|
getVersion(): string;
|
|
getHeader(): string;
|
|
resolvePath(filepath: string): Promise<string>;
|
|
resolveRawPath(testPath: string, rawPath: string): Promise<string>;
|
|
prepareDirectory(dirPath: string): Promise<void>;
|
|
saveSnapshotFile(filepath: string, snapshot: string): Promise<void>;
|
|
readSnapshotFile(filepath: string): Promise<string | null>;
|
|
removeSnapshotFile(filepath: string): Promise<void>;
|
|
}
|
|
|
|
export { SnapshotEnvironment as S };
|