We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a22b43b commit 82b87f6Copy full SHA for 82b87f6
test/middleware-mockserver.js
@@ -280,8 +280,7 @@ function MockserverMiddlewareFactory() {
280
* @param {Function} next Continue request handling
281
*/
282
return function( req, resp, next ) {
283
- var method = req.method,
284
- parsed = url.parse( req.url, /* parseQuery */ true ),
+ var parsed = url.parse( req.url, /* parseQuery */ true ),
285
path = parsed.pathname.replace( /^\/base\//, "" ),
286
query = parsed.query,
287
subReq = Object.assign( Object.create( req ), {
0 commit comments