Skip to content

Commit 40cf488

Browse files
marcusbernerJames Halliday
authored and
James Halliday
committed
do not set canEmitExit with browserify process shim
1 parent de03633 commit 40cf488

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
@@ -4,7 +4,7 @@ var Test = require('./lib/test');
44
var createResult = require('./lib/results');
55

66
var canEmitExit = typeof process !== 'undefined' && process
7-
&& typeof process.on === 'function'
7+
&& typeof process.on === 'function' && process.browser !== true
88
;
99
var canExit = typeof process !== 'undefined' && process
1010
&& typeof process.exit === 'function'

0 commit comments

Comments
 (0)