Skip to content

Commit

Permalink
Tests: Remove an unused local variable
Browse files Browse the repository at this point in the history
Closes gh-4769
  • Loading branch information
wonhyoung05 committed Aug 13, 2020
1 parent a22b43b commit 82b87f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/middleware-mockserver.js
Expand Up @@ -280,8 +280,7 @@ function MockserverMiddlewareFactory() {
* @param {Function} next Continue request handling
*/
return function( req, resp, next ) {
var method = req.method,
parsed = url.parse( req.url, /* parseQuery */ true ),
var parsed = url.parse( req.url, /* parseQuery */ true ),
path = parsed.pathname.replace( /^\/base\//, "" ),
query = parsed.query,
subReq = Object.assign( Object.create( req ), {
Expand Down

0 comments on commit 82b87f6

Please sign in to comment.