diff --git a/index.js b/index.js index 18067789..1053b8cc 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ var createResult = require('./lib/results'); var through = require('through'); 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'