Skip to content

Commit d0afa84

Browse files
committed
tests: close http server after tests
1 parent 9d22a1e commit d0afa84

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/cookieParser.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ describe('cookieParser()', function () {
1212
server = createServer('keyboard cat')
1313
})
1414

15+
after(function (done) {
16+
server.close(done)
17+
})
18+
1519
it('should export JSONCookies function', function () {
1620
assert(typeof cookieParser.JSONCookies, 'function')
1721
})

0 commit comments

Comments
 (0)