diff --git a/lib/middleware/karma.js b/lib/middleware/karma.js index 0f4eee3dd..a9186fa65 100644 --- a/lib/middleware/karma.js +++ b/lib/middleware/karma.js @@ -96,6 +96,11 @@ var createKarmaMiddleware = function (filesPromise, serveStaticFile, }) } + // serve the favicon + if (requestUrl === '/favicon.ico') { + return serveStaticFile(requestUrl, response) + } + // serve context.html - execution context within the iframe // or debug.html - execution context without channel to the server if (requestUrl === '/context.html' || requestUrl === '/debug.html') {