Permalink
Browse files

Extend the mock for system module

  • Loading branch information...
1 parent 10a5002 commit ba9a4775ca492446ed9675213ef2c6daf8fc4f14 @macbre committed Feb 27, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 test/public-api-test.js
View
5 test/public-api-test.js
@@ -14,7 +14,10 @@ mockery.registerMock('fs', {
list: function() {}
});
mockery.registerMock('system', {
- os: {}
+ os: {},
+ stderr: {
+ writeLine: function() {}
+ }
});
mockery.registerMock('webpage', {
create: function() {

0 comments on commit ba9a477

Please sign in to comment.