From 2b070e5470fb79db906f150bbd006bda9e4b8ead Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 28 Jun 2013 07:55:25 +1000 Subject: [PATCH] Fixed a problem when tests run in node 0.8 --- test/streams/BaseRollingFileStream-test.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/streams/BaseRollingFileStream-test.js b/test/streams/BaseRollingFileStream-test.js index 0e4b151..a414d5a 100644 --- a/test/streams/BaseRollingFileStream-test.js +++ b/test/streams/BaseRollingFileStream-test.js @@ -14,6 +14,11 @@ vows.describe('../../lib/streams/BaseRollingFileStream').addBatch({ process: { version: '0.8.11' } + }, + requires: { + 'readable-stream': { + Writable: function() {} + } } } ); @@ -34,6 +39,11 @@ vows.describe('../../lib/streams/BaseRollingFileStream').addBatch({ process: { version: '0.10.1' } + }, + requires: { + 'stream': { + Writable: function() {} + } } } );