@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.
package/build/assert/assert.js
CHANGED
@@ -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 : `
|
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 : `
|
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;
|