Skip to content

Commit

Permalink
Merge pull request #1788 from sunesimonsen/fix/html-runner
Browse files Browse the repository at this point in the history
Fix: html-runner crashing because of missing process.stdout shim
  • Loading branch information
Joshua Appelman committed Jul 6, 2015
2 parents 78afb42 + 3186f53 commit d29f7e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions support/browser-entry.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* Shim process.stdout.
*/

process.stdout = require('browser-stdout')();

var Mocha = require('../');

/**
Expand Down Expand Up @@ -140,12 +146,6 @@ mocha.run = function(fn){
});
};

/**
* Shim process.stdout.
*/

process.stdout = require('browser-stdout')();

/**
* Expose the process shim.
* https://github.com/mochajs/mocha/pull/916
Expand Down

0 comments on commit d29f7e9

Please sign in to comment.