Comparing version 6.3.3 to 6.3.4
@@ -21,3 +21,3 @@ 'use strict'; | ||
* | ||
* @param {Function|Server} app | ||
* @param {Function|Server|String} app | ||
* @return {Test} | ||
@@ -24,0 +24,0 @@ * @api public |
{ | ||
"name": "supertest", | ||
"description": "SuperAgent driven library for testing HTTP servers", | ||
"version": "6.3.3", | ||
"version": "6.3.4", | ||
"author": "TJ Holowaychuk", | ||
@@ -9,13 +9,13 @@ "contributors": [], | ||
"methods": "^1.1.2", | ||
"superagent": "^8.0.5" | ||
"superagent": "^8.1.2" | ||
}, | ||
"devDependencies": { | ||
"body-parser": "^1.20.1", | ||
"body-parser": "^1.20.2", | ||
"cookie-parser": "^1.4.6", | ||
"eslint": "^8.29.0", | ||
"eslint": "^8.32.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"express": "^4.18.2", | ||
"mocha": "^10.1.0", | ||
"nock": "^13.2.9", | ||
"mocha": "^10.2.0", | ||
"nock": "^13.3.0", | ||
"nyc": "^15.1.0", | ||
@@ -45,3 +45,3 @@ "proxyquire": "^2.1.3", | ||
"type": "git", | ||
"url": "https://github.com/visionmedia/supertest.git" | ||
"url": "https://github.com/ladjs/supertest.git" | ||
}, | ||
@@ -48,0 +48,0 @@ "scripts": { |
@@ -1,2 +0,2 @@ | ||
# SuperTest | ||
# [SuperTest](https://ladjs.github.io/superagent/) | ||
@@ -37,3 +37,2 @@ [![code coverage][coverage-badge]][coverage] | ||
const request = require('supertest'); | ||
const assert = require('assert'); | ||
const express = require('express'); | ||
@@ -153,3 +152,3 @@ | ||
.then(response => { | ||
assert(response.body.email, 'foo@bar.com') | ||
expect(response.body.email).toEqual('foo@bar.com'); | ||
}) | ||
@@ -156,0 +155,0 @@ }); |
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
23946
339
Updatedsuperagent@^8.1.2