@sprucelabs/test-utils 3.3.0 → 3.3.2
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.
package/build/assert/assert.js
CHANGED
|
@@ -223,8 +223,8 @@ const assert = {
|
|
|
223
223
|
this.fail('Expected a thrown error, but never got one!');
|
|
224
224
|
},
|
|
225
225
|
fail: assert_utility_1.default.fail,
|
|
226
|
-
isInstanceOf(
|
|
227
|
-
assert.isTrue(
|
|
226
|
+
isInstanceOf(actual, Class) {
|
|
227
|
+
assert.isTrue(actual instanceof Class, `actual is not an instance of:\n\n${Class}`);
|
|
228
228
|
},
|
|
229
229
|
};
|
|
230
230
|
exports.default = assert;
|
|
@@ -229,8 +229,8 @@ const assert = {
|
|
|
229
229
|
});
|
|
230
230
|
},
|
|
231
231
|
fail: assertUtil.fail,
|
|
232
|
-
isInstanceOf(
|
|
233
|
-
assert.isTrue(
|
|
232
|
+
isInstanceOf(actual, Class) {
|
|
233
|
+
assert.isTrue(actual instanceof Class, `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.
|
|
6
|
+
"version": "3.3.2",
|
|
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.
|
|
83
|
+
"@types/node": "^18.11.19",
|
|
84
84
|
"chokidar-cli": "^3.0.0",
|
|
85
85
|
"eslint": "^8.33.0",
|
|
86
86
|
"eslint-config-spruce": "^10.12.0",
|