@sprucelabs/test-utils 5.1.426 → 5.1.428

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ class AssertionError extends Error {
8
8
  constructor(message, stack) {
9
9
  var _a;
10
10
  super(message);
11
- this.message = StackCleaner_1.default.clean(message ? `${message}\n` : '');
11
+ this.message = message;
12
12
  this.stack = StackCleaner_1.default.clean(`${this.message}${((_a = stack !== null && stack !== void 0 ? stack : this.stack) !== null && _a !== void 0 ? _a : '').replace(message, '')}`);
13
13
  }
14
14
  }
@@ -3,7 +3,7 @@ export default class AssertionError extends Error {
3
3
  constructor(message, stack) {
4
4
  var _a;
5
5
  super(message);
6
- this.message = StackCleaner.clean(message ? `${message}\n` : '');
6
+ this.message = message;
7
7
  this.stack = StackCleaner.clean(`${this.message}${((_a = stack !== null && stack !== void 0 ? stack : this.stack) !== null && _a !== void 0 ? _a : '').replace(message, '')}`);
8
8
  }
9
9
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "5.1.426",
6
+ "version": "5.1.428",
7
7
  "files": [
8
8
  "build"
9
9
  ],
@@ -60,7 +60,7 @@
60
60
  "watch.tsc": "tsc -w"
61
61
  },
62
62
  "dependencies": {
63
- "@sprucelabs/error": "^6.0.476",
63
+ "@sprucelabs/error": "^6.0.477",
64
64
  "deep-equal": "^2.2.3",
65
65
  "just-clone": "^6.2.0",
66
66
  "lodash": "^4.17.21",
@@ -68,8 +68,8 @@
68
68
  "variable-diff": "^2.0.2"
69
69
  },
70
70
  "devDependencies": {
71
- "@sprucelabs/esm-postbuild": "^6.0.459",
72
- "@sprucelabs/jest-json-reporter": "^8.0.475",
71
+ "@sprucelabs/esm-postbuild": "^6.0.460",
72
+ "@sprucelabs/jest-json-reporter": "^8.0.476",
73
73
  "@sprucelabs/jest-sheets-reporter": "^2.0.20",
74
74
  "@sprucelabs/semantic-release": "^5.0.2",
75
75
  "@sprucelabs/test": "^9.0.50",