diff options
Diffstat (limited to 'vanilla/node_modules/@vitest/snapshot/dist/environment.d-DHdQ1Csl.d.ts')
| -rw-r--r-- | vanilla/node_modules/@vitest/snapshot/dist/environment.d-DHdQ1Csl.d.ts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vanilla/node_modules/@vitest/snapshot/dist/environment.d-DHdQ1Csl.d.ts b/vanilla/node_modules/@vitest/snapshot/dist/environment.d-DHdQ1Csl.d.ts new file mode 100644 index 0000000..435ae4f --- /dev/null +++ b/vanilla/node_modules/@vitest/snapshot/dist/environment.d-DHdQ1Csl.d.ts @@ -0,0 +1,22 @@ +interface ParsedStack { + method: string; + file: string; + line: number; + column: number; +} + +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>; + processStackTrace?: (stack: ParsedStack) => ParsedStack; +} +interface SnapshotEnvironmentOptions { + snapshotsDirName?: string; +} + +export type { ParsedStack as P, SnapshotEnvironment as S, SnapshotEnvironmentOptions as a }; |
