Skip to content

Commit

Permalink
do not set canEmitExit with browserify process shim
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusberner authored and James Halliday committed Apr 2, 2014
1 parent 46c15be commit d282191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var Test = require('./lib/test');
var createResult = require('./lib/results');

var canEmitExit = typeof process !== 'undefined' && process
&& typeof process.on === 'function'
&& typeof process.on === 'function' && process.browser !== true
;
var canExit = typeof process !== 'undefined' && process
&& typeof process.exit === 'function'
Expand Down

0 comments on commit d282191

Please sign in to comment.