mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-18 16:02:57 +00:00
12 lines
441 B
TypeScript
12 lines
441 B
TypeScript
interface SnapshotEnvironment {
|
|
getVersion(): string;
|
|
getHeader(): string;
|
|
resolvePath(filepath: string): Promise<string>;
|
|
resolveRawPath(testPath: string, rawPath: string): Promise<string>;
|
|
saveSnapshotFile(filepath: string, snapshot: string): Promise<void>;
|
|
readSnapshotFile(filepath: string): Promise<string | null>;
|
|
removeSnapshotFile(filepath: string): Promise<void>;
|
|
}
|
|
|
|
export { SnapshotEnvironment as S };
|