@vitest/snapshot 2.1.2 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1546 -1546
- package/dist/manager.d.ts +1 -1
- package/dist/{index-Y6kQUiCB.d.ts → rawSnapshot-CPNkto81.d.ts} +7 -7
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { S as SnapshotStateOptions, a as SnapshotMatchOptions, b as SnapshotResult, R as RawSnapshotInfo } from './
|
2
|
-
export { c as SnapshotData,
|
1
|
+
import { S as SnapshotStateOptions, a as SnapshotMatchOptions, b as SnapshotResult, R as RawSnapshotInfo } from './rawSnapshot-CPNkto81.js';
|
2
|
+
export { c as SnapshotData, d as SnapshotSerializer, e as SnapshotSummary, f as SnapshotUpdateState, U as UncheckedSnapshot } from './rawSnapshot-CPNkto81.js';
|
3
3
|
import { S as SnapshotEnvironment } from './environment-Ddx0EDtY.js';
|
4
4
|
import { Plugin, Plugins } from '@vitest/pretty-format';
|
5
5
|
|
@@ -95,6 +95,8 @@ declare class SnapshotClient {
|
|
95
95
|
clear(): void;
|
96
96
|
}
|
97
97
|
|
98
|
+
declare function stripSnapshotIndentation(inlineSnapshot: string): string;
|
99
|
+
|
98
100
|
/**
|
99
101
|
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
100
102
|
*
|
@@ -105,6 +107,4 @@ declare class SnapshotClient {
|
|
105
107
|
declare function addSerializer(plugin: Plugin): void;
|
106
108
|
declare function getSerializers(): Plugins;
|
107
109
|
|
108
|
-
declare function stripSnapshotIndentation(inlineSnapshot: string): string;
|
109
|
-
|
110
110
|
export { SnapshotClient, SnapshotMatchOptions, SnapshotResult, SnapshotState, SnapshotStateOptions, addSerializer, getSerializers, stripSnapshotIndentation };
|