@sprucelabs/test-utils 5.1.264 → 5.1.266

Sign up to get free protection for your applications and to get access to all the features.
@@ -108,7 +108,7 @@ const assert = {
108
108
  throw this.fail(message !== null && message !== void 0 ? message : `Expected array of length ${expected}, but got ${stringify(actual)}`);
109
109
  }
110
110
  //@ts-ignore
111
- this.isEqual(actual.length, expected, message !== null && message !== void 0 ? message : `Expected length of ${stringify(expected)}, but got a length of ${stringify(actual.length)}`);
111
+ this.isEqual(actual.length, expected, message !== null && message !== void 0 ? message : `Your array is not the expected length!`);
112
112
  },
113
113
  doesNotInclude(haystack, needle, message) {
114
114
  let doesInclude = false;
@@ -103,7 +103,7 @@ const assert = {
103
103
  throw this.fail(message !== null && message !== void 0 ? message : `Expected array of length ${expected}, but got ${stringify(actual)}`);
104
104
  }
105
105
  //@ts-ignore
106
- this.isEqual(actual.length, expected, message !== null && message !== void 0 ? message : `Expected length of ${stringify(expected)}, but got a length of ${stringify(actual.length)}`);
106
+ this.isEqual(actual.length, expected, message !== null && message !== void 0 ? message : `Your array is not the expected length!`);
107
107
  },
108
108
  doesNotInclude(haystack, needle, message) {
109
109
  let doesInclude = false;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "5.1.264",
6
+ "version": "5.1.266",
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.320",
63
+ "@sprucelabs/error": "^6.0.321",
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.303",
72
- "@sprucelabs/jest-json-reporter": "^8.0.322",
71
+ "@sprucelabs/esm-postbuild": "^6.0.304",
72
+ "@sprucelabs/jest-json-reporter": "^8.0.323",
73
73
  "@sprucelabs/jest-sheets-reporter": "^2.0.20",
74
74
  "@sprucelabs/semantic-release": "^5.0.2",
75
75
  "@sprucelabs/test": "^9.0.43",