From d0afa84772c9a4d29420ae7afb1a16a91963c016 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 15 Nov 2018 15:09:28 -0500 Subject: [PATCH] tests: close http server after tests --- test/cookieParser.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/cookieParser.js b/test/cookieParser.js index 2e5a979..2c50adb 100644 --- a/test/cookieParser.js +++ b/test/cookieParser.js @@ -12,6 +12,10 @@ describe('cookieParser()', function () { server = createServer('keyboard cat') }) + after(function (done) { + server.close(done) + }) + it('should export JSONCookies function', function () { assert(typeof cookieParser.JSONCookies, 'function') })