From 736fecbde039111798a6c8c8ff02bb2065e3bef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Sat, 19 Nov 2011 19:12:55 +0100 Subject: [PATCH] [test] Clean up after tests are done --- test/cli-test.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/cli-test.js b/test/cli-test.js index 7c448805..adce8ba2 100644 --- a/test/cli-test.js +++ b/test/cli-test.js @@ -48,5 +48,14 @@ vows.describe('forever/cli').addBatch({ }) }) } +}).addBatch({ + 'When testing forever CLI': { + 'necessary cleanup': { + topic: function () { + forever.stopAll().on('stopAll', this.callback.bind({}, null)); + }, + 'should take place': function () {} + } + } }).export(module);