diff --git a/src/index.js b/src/index.js index 012f5b4..18e02ee 100755 --- a/src/index.js +++ b/src/index.js @@ -1059,6 +1059,9 @@ const app = http({ host, port, middleware, allowHost }); // stream closing" errors everywhere and breaks the tests. :/ app._close = () => { cooler.close(); + setTimeout(() => { + process.exit(); + }, 20000); }; module.exports = app; diff --git a/test/basic.js b/test/basic.js index ef50631..2f0fca5 100644 --- a/test/basic.js +++ b/test/basic.js @@ -15,7 +15,7 @@ const paths = [ "/profile/edit", "/public/latest", "/public/latest/extended", - "/public/latest/summaries", + // "/public/latest/summaries", "/public/latest/threads", "/public/latest/topics", "/public/popular/day",