Comparing version 6.1.5 to 6.1.6
@@ -131,3 +131,3 @@ 'use strict'; | ||
// multiple statuses | ||
if (Array.isArray(a) && a.every(val => typeof val === 'number')) { | ||
if (Array.isArray(a) && a.length > 0 && a.every(val => typeof val === 'number')) { | ||
this._asserts.push(wrapAssertFn(this._assertStatusArray.bind(this, a))); | ||
@@ -134,0 +134,0 @@ return this; |
{ | ||
"name": "supertest", | ||
"version": "6.1.5", | ||
"version": "6.1.6", | ||
"description": "SuperAgent driven library for testing HTTP servers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21530