Permalink
Browse files

[test] clean up after tests.

  • Loading branch information...
1 parent 31c7107 commit 96e5fccbcb32a1aa6148fd3d5a2d07bb8603b32c @chjj chjj committed May 16, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/winston-nssocket-test.js
@@ -35,4 +35,11 @@ vows.describe('winston/transports/nssocket').addBatch({
host: 'localhost',
port: 1234
})
+}).addBatch({
+ 'An instance of the Nssocket Transport': {
+ 'topic': server,
+ 'should cleanup when done': function() {
+ server.close();
+ }
+ }
}).export(module);

0 comments on commit 96e5fcc

Please sign in to comment.