@sprucelabs/test-utils 3.3.2 → 3.3.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.
@@ -224,7 +224,7 @@ const assert = {
224
224
  },
225
225
  fail: assert_utility_1.default.fail,
226
226
  isInstanceOf(actual, Class) {
227
- assert.isTrue(actual instanceof Class, `actual is not an instance of:\n\n${Class}`);
227
+ assert.isTrue(actual instanceof Class, `${assert_utility_1.default.stringify(actual)} is not an instance of:\n\n${Class}`);
228
228
  },
229
229
  };
230
230
  exports.default = assert;
@@ -230,7 +230,7 @@ const assert = {
230
230
  },
231
231
  fail: assertUtil.fail,
232
232
  isInstanceOf(actual, Class) {
233
- assert.isTrue(actual instanceof Class, `actual is not an instance of:\n\n${Class}`);
233
+ assert.isTrue(actual instanceof Class, `${assertUtil.stringify(actual)} is not an instance of:\n\n${Class}`);
234
234
  },
235
235
  };
236
236
  export default assert;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.3.2",
6
+ "version": "3.3.4",
7
7
  "files": [
8
8
  "build"
9
9
  ],
@@ -80,7 +80,7 @@
80
80
  "@types/deep-equal": "^1.0.1",
81
81
  "@types/jest": "^29.4.0",
82
82
  "@types/lodash": "^4.14.191",
83
- "@types/node": "^18.11.19",
83
+ "@types/node": "^18.13.0",
84
84
  "chokidar-cli": "^3.0.0",
85
85
  "eslint": "^8.33.0",
86
86
  "eslint-config-spruce": "^10.12.0",