Make tests work

This commit is contained in:
Girish Ramakrishnan
2018-08-20 20:10:14 -07:00
parent d5194cfdc9
commit 89cf8167e6
2 changed files with 7 additions and 2 deletions

View File

@@ -121,7 +121,12 @@ function start(callback) {
let proxyServer = express();
if (config.TEST) proxyServer.use(function (req, res, next) { console.log('Proxying: ' + req.method, req.url); next(); })
if (config.TEST) {
proxyServer.use(function (req, res, next) {
console.log('Proxying: ' + req.method, req.url);
next();
});
}
proxyServer.use(authorizeApp)
.use(attachDockerRequest)