Skip to content

Commit 66c0a7d

Browse files
marcusbernerJames Halliday
authored and
James Halliday
committedApr 2, 2014
do not set canEmitExit with browserify process shim
1 parent 8622bd5 commit 66c0a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var Test = require('./lib/test');
33
var createResultStream = require('./lib/results');
44

55
var canEmitExit = typeof process !== 'undefined' && process
6-
&& typeof process.on === 'function'
6+
&& typeof process.on === 'function' && process.browser !== true
77
;
88
var canExit = typeof process !== 'undefined' && process
99
&& typeof process.exit === 'function'

0 commit comments

Comments
 (0)
Please sign in to comment.