diff options
Diffstat (limited to 'vanilla/node_modules/@vitest/snapshot/dist/environment.d.ts')
| -rw-r--r-- | vanilla/node_modules/@vitest/snapshot/dist/environment.d.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vanilla/node_modules/@vitest/snapshot/dist/environment.d.ts b/vanilla/node_modules/@vitest/snapshot/dist/environment.d.ts new file mode 100644 index 0000000..efa86bc --- /dev/null +++ b/vanilla/node_modules/@vitest/snapshot/dist/environment.d.ts @@ -0,0 +1,16 @@ +import { S as SnapshotEnvironment, a as SnapshotEnvironmentOptions } from './environment.d-DHdQ1Csl.js'; + +declare class NodeSnapshotEnvironment implements SnapshotEnvironment { + private options; + constructor(options?: SnapshotEnvironmentOptions); + 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 }; |
