jest-prettyhtml-matchers 1.12.1 → 1.13.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.
@@ -10,18 +10,6 @@ declare global {
10
10
  }
11
11
  }
12
12
  export declare const createPrettyHtmlMatchers: (options?: PrettyHtmlOptions) => {
13
- toMatchPrettyHtmlSnapshot: (this: any, received: string, options?: string | PrettyHtmlOptions | undefined, hint?: string | undefined) => {
14
- pass: boolean;
15
- message(): string;
16
- } | Promise<{
17
- pass: boolean;
18
- message(): string;
19
- }>;
20
- toMatchInlinePrettyHtmlSnapshot: (this: any, received: string, options?: string | PrettyHtmlOptions | undefined, inlineSnapshot?: string | undefined) => {
21
- pass: boolean;
22
- message(): string;
23
- } | Promise<{
24
- pass: boolean;
25
- message(): string;
26
- }>;
13
+ toMatchPrettyHtmlSnapshot: (this: any, received: string, options?: string | PrettyHtmlOptions | undefined, hint?: string | undefined) => import("expect").ExpectationResult;
14
+ toMatchInlinePrettyHtmlSnapshot: (this: any, received: string, options?: string | PrettyHtmlOptions | undefined, inlineSnapshot?: string | undefined) => import("expect").ExpectationResult;
27
15
  };
@@ -1,8 +1,2 @@
1
1
  import type { Format, PrettyHtmlOptions } from './types';
2
- export declare const createToMatchInlinePrettyHtmlSnapshot: (format: Format) => (this: any, received: string, options?: string | PrettyHtmlOptions | undefined, inlineSnapshot?: string | undefined) => {
3
- pass: boolean;
4
- message(): string;
5
- } | Promise<{
6
- pass: boolean;
7
- message(): string;
8
- }>;
2
+ export declare const createToMatchInlinePrettyHtmlSnapshot: (format: Format) => (this: any, received: string, options?: PrettyHtmlOptions | string, inlineSnapshot?: string) => import("expect").ExpectationResult;
@@ -1,8 +1,2 @@
1
1
  import type { Format, PrettyHtmlOptions } from './types';
2
- export declare const createToMatchPrettyHtmlSnapshot: (format: Format) => (this: any, received: string, options?: string | PrettyHtmlOptions | undefined, hint?: string | undefined) => {
3
- pass: boolean;
4
- message(): string;
5
- } | Promise<{
6
- pass: boolean;
7
- message(): string;
8
- }>;
2
+ export declare const createToMatchPrettyHtmlSnapshot: (format: Format) => (this: any, received: string, options?: PrettyHtmlOptions | string, hint?: string) => import("expect").ExpectationResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jest-prettyhtml-matchers",
3
- "version": "1.12.1",
3
+ "version": "1.13.1",
4
4
  "description": "Custom Jest snapshot matchers that use prettyhtml to format strings.",
5
5
  "author": "Tane Morgan (https://github.com/tanem)",
6
6
  "main": "dist/index.js",
@@ -47,21 +47,21 @@
47
47
  "devDependencies": {
48
48
  "@types/fs-extra": "9.0.13",
49
49
  "@types/glob": "8.0.0",
50
- "@types/jest": "29.0.0",
51
- "@typescript-eslint/eslint-plugin": "5.37.0",
52
- "@typescript-eslint/parser": "5.37.0",
50
+ "@types/jest": "29.2.2",
51
+ "@typescript-eslint/eslint-plugin": "5.42.1",
52
+ "@typescript-eslint/parser": "5.42.1",
53
53
  "del": "6.1.1",
54
54
  "del-cli": "5.0.0",
55
- "eslint": "8.23.1",
55
+ "eslint": "8.27.0",
56
56
  "eslint-config-prettier": "8.5.0",
57
57
  "fs-extra": "10.1.0",
58
- "jest": "29.0.3",
59
- "jest-snapshot": "29.0.3",
58
+ "jest": "29.2.2",
59
+ "jest-snapshot": "29.2.2",
60
60
  "npm-run-all": "4.1.5",
61
61
  "prettier": "2.7.1",
62
- "tanem-scripts": "6.0.59",
63
- "ts-jest": "29.0.1",
62
+ "tanem-scripts": "6.0.62",
63
+ "ts-jest": "29.0.3",
64
64
  "ts-node": "10.9.1",
65
- "typescript": "4.8.3"
65
+ "typescript": "4.8.4"
66
66
  }
67
67
  }