mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-12-02 06:24:45 +01:00
15 lines
625 B
TypeScript
15 lines
625 B
TypeScript
|
import { S as SnapshotEnvironment } from './environment-38cdead3.js';
|
||
|
|
||
|
declare class NodeSnapshotEnvironment implements SnapshotEnvironment {
|
||
|
getVersion(): string;
|
||
|
getHeader(): string;
|
||
|
resolveRawPath(testPath: string, rawPath: string): Promise<string>;
|
||
|
resolvePath(filepath: 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 { NodeSnapshotEnvironment, SnapshotEnvironment };
|