Skip to content

Commit a661e6c

Browse files
committed
Merge pull request #2053 from mislav/window-vs-global
Have global exports be compatible with Web Workers
2 parents aa550e1 + 95d7d5b commit a661e6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

support/browser-entry.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,5 @@ Mocha.process = process;
157157
* Expose mocha.
158158
*/
159159

160-
window.Mocha = Mocha;
161-
window.mocha = mocha;
160+
global.Mocha = Mocha;
161+
global.mocha = mocha;

0 commit comments

Comments
 (0)