@sprucelabs/test-utils 5.1.265 → 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.265",
6
+ "version": "5.1.266",
7
7
  "files": [
8
8
  "build"
9
9
  ],