@locustjs/test 1.6.0 → 1.6.1
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/index.cjs.js +3 -3
- package/index.esm.js +3 -3
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -568,11 +568,11 @@ var Expect = exports.Expect = /*#__PURE__*/function () {
|
|
|
568
568
|
key: "notToBeSomeArray",
|
|
569
569
|
value: function notToBeSomeArray() {
|
|
570
570
|
this._expected = true;
|
|
571
|
-
if ((0, _base.isArray)(this.value)) {
|
|
571
|
+
if (!(0, _base.isArray)(this.value)) {
|
|
572
572
|
throw new TestException({
|
|
573
|
-
message: "".concat(this.value, " is array"),
|
|
573
|
+
message: "".concat(this.value, " is not array"),
|
|
574
574
|
code: 1068,
|
|
575
|
-
status: "is-array"
|
|
575
|
+
status: "is-not-array"
|
|
576
576
|
});
|
|
577
577
|
}
|
|
578
578
|
if (this.value.length) {
|
package/index.esm.js
CHANGED
|
@@ -527,11 +527,11 @@ class Expect {
|
|
|
527
527
|
notToBeSomeArray() {
|
|
528
528
|
this._expected = true;
|
|
529
529
|
|
|
530
|
-
if (isArray(this.value)) {
|
|
530
|
+
if (!isArray(this.value)) {
|
|
531
531
|
throw new TestException({
|
|
532
|
-
message: `${this.value} is array`,
|
|
532
|
+
message: `${this.value} is not array`,
|
|
533
533
|
code: 1068,
|
|
534
|
-
status: "is-array",
|
|
534
|
+
status: "is-not-array",
|
|
535
535
|
});
|
|
536
536
|
}
|
|
537
537
|
if (this.value.length) {
|