Skip to content

Commit

Permalink
tests: close http server after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Nov 15, 2018
1 parent 9d22a1e commit d0afa84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/cookieParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
Expand Down

0 comments on commit d0afa84

Please sign in to comment.