@types/jest-image-snapshot 6.4.0 → 6.4.1
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.
jest-image-snapshot/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for jest-image-snapshot (https://github.c
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-image-snapshot.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 12 Jan 2026 10:40:36 GMT
|
|
12
12
|
* Dependencies: [@types/jest](https://npmjs.com/package/@types/jest), [@types/pixelmatch](https://npmjs.com/package/@types/pixelmatch), [ssim.js](https://npmjs.com/package/ssim.js)
|
|
13
13
|
|
|
14
14
|
# Credits
|
jest-image-snapshot/index.d.ts
CHANGED
|
@@ -134,7 +134,10 @@ export interface MatchImageSnapshotOptions {
|
|
|
134
134
|
* import { toMatchImageSnapshot } from 'jest-image-snapshot';
|
|
135
135
|
* expect.extend({ toMatchImageSnapshot });
|
|
136
136
|
*/
|
|
137
|
-
export function toMatchImageSnapshot(
|
|
137
|
+
export function toMatchImageSnapshot(
|
|
138
|
+
received: Buffer,
|
|
139
|
+
options?: MatchImageSnapshotOptions,
|
|
140
|
+
): { message(): string; pass: boolean };
|
|
138
141
|
|
|
139
142
|
/**
|
|
140
143
|
* Configurable function that can be passed to jest's expect.extend.
|
|
@@ -145,7 +148,7 @@ export function toMatchImageSnapshot(options?: MatchImageSnapshotOptions): { mes
|
|
|
145
148
|
*/
|
|
146
149
|
export function configureToMatchImageSnapshot(
|
|
147
150
|
options: MatchImageSnapshotOptions,
|
|
148
|
-
): () => { message(): string; pass: boolean };
|
|
151
|
+
): (received: Buffer, options?: MatchImageSnapshotOptions) => { message(): string; pass: boolean };
|
|
149
152
|
|
|
150
153
|
/**
|
|
151
154
|
* Mutates original state with new state
|
jest-image-snapshot/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/jest-image-snapshot",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.1",
|
|
4
4
|
"description": "TypeScript definitions for jest-image-snapshot",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-image-snapshot",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"@types/pixelmatch": "*",
|
|
40
40
|
"ssim.js": "^3.1.1"
|
|
41
41
|
},
|
|
42
|
-
"
|
|
43
|
-
"
|
|
42
|
+
"peerDependencies": {},
|
|
43
|
+
"typesPublisherContentHash": "41f1a0343aee41d5cfbcee9d1003e91e318724e55cec09311ff9d3ae37a078c5",
|
|
44
|
+
"typeScriptVersion": "5.2"
|
|
44
45
|
}
|