@types/jest-image-snapshot 6.1.0 → 6.2.0

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.
@@ -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: Tue, 06 Dec 2022 19:33:11 GMT
11
+ * Last updated: Sun, 06 Aug 2023 10:32:40 GMT
12
12
  * Dependencies: [@types/jest](https://npmjs.com/package/@types/jest), [@types/pixelmatch](https://npmjs.com/package/@types/pixelmatch), [@types/ssim.js](https://npmjs.com/package/@types/ssim.js)
13
13
  * Global values: none
14
14
 
@@ -1,4 +1,4 @@
1
- // Type definitions for jest-image-snapshot 6.1
1
+ // Type definitions for jest-image-snapshot 6.2
2
2
  // Project: https://github.com/americanexpress/jest-image-snapshot#readme
3
3
  // Definitions by: Janeene Beeforth <https://github.com/dawnmist>
4
4
  // erbridge <https://github.com/erbridge>
@@ -47,6 +47,11 @@ export interface MatchImageSnapshotOptions {
47
47
  * A custom absolute path of a directory to keep this received image in.
48
48
  */
49
49
  customReceivedDir?: string | undefined;
50
+ /**
51
+ * A custom postfix which is added to the snapshot name of the received image
52
+ * @default '-received'
53
+ */
54
+ customReceivedPostfix?: string | undefined;
50
55
  /**
51
56
  * A custom name to give this snapshot. If not provided, one is computed automatically. When a function is provided
52
57
  * it is called with an object containing testPath, currentTestName, counter and defaultIdentifier as its first
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/jest-image-snapshot",
3
- "version": "6.1.0",
3
+ "version": "6.2.0",
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,6 @@
39
39
  "@types/pixelmatch": "*",
40
40
  "ssim.js": "^3.1.1"
41
41
  },
42
- "typesPublisherContentHash": "3b3eaea9366185a27fcafe2da000bd426b4afce1760e75ecb6568c313b602d09",
42
+ "typesPublisherContentHash": "99994f9ae0234e9d94fcac1d3513bdf1ff6207ad08d8808ddeac0eb41c058ba7",
43
43
  "typeScriptVersion": "4.3"
44
44
  }