index.js
function (url) {
        return new Promise(function (resolve, reject) {
            middleware(new MockReq(url), new MockRes(url, resolve), reject);
        });
    }
function (url) {
        return new Promise(function (resolve, reject) {
            middleware(new MockReq(url), new MockRes(url, resolve), reject);
        });
    }
function ( url ) { return new Promise ( function ( resolve , reject ) { middleware ( new MockReq ( url ) , new MockRes ( url , resolve ) , reject ) ; } ) ; }
Calls webpack middleware in express manner.
@param {String} url
@returns {Promise}
Calls webpack middleware in express manner .