mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: Remove an unused local variable
Closes gh-4769
This commit is contained in:
parent
a22b43bad4
commit
82b87f6f0e
@ -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 ), {
|
||||
|
Loading…
Reference in New Issue
Block a user