Interface SnapshotEnvironment
Methods
getHeader
- getHeader(): string
Returns string
getVersion
- getVersion(): string
Returns string
readSnapshotFile
- readSnapshotFile(filepath): Promise<null | string>
Returns Promise<null | string>
removeSnapshotFile
- removeSnapshotFile(filepath): Promise<void>
resolvePath
- resolvePath(filepath): Promise<string>
Returns Promise<string>
resolveRawPath
- resolveRawPath(testPath, rawPath): Promise<string>
Parameters
testPath: string
rawPath: string
Returns Promise<string>
saveSnapshotFile
- saveSnapshotFile(filepath, snapshot): Promise<void>
Parameters
filepath: string
snapshot: string