Skip to content

Commit c9d502e

Browse files
marcusbernerJames Halliday
authored and
James Halliday
committed
do not set canEmitExit with browserify process shim
1 parent e8b7c72 commit c9d502e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)