Fixed a problem when tests run in node 0.8

This commit is contained in:
Gareth Jones 2013-06-28 07:55:25 +10:00
parent 4cd546e8b3
commit 2b070e5470

View File

@ -14,6 +14,11 @@ vows.describe('../../lib/streams/BaseRollingFileStream').addBatch({
process: { process: {
version: '0.8.11' version: '0.8.11'
} }
},
requires: {
'readable-stream': {
Writable: function() {}
}
} }
} }
); );
@ -34,6 +39,11 @@ vows.describe('../../lib/streams/BaseRollingFileStream').addBatch({
process: { process: {
version: '0.10.1' version: '0.10.1'
} }
},
requires: {
'stream': {
Writable: function() {}
}
} }
} }
); );