We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2137163 commit 667e9a2Copy full SHA for 667e9a2
browser-entry.js
@@ -210,8 +210,8 @@ Mocha.process = process;
210
* Expose mocha.
211
*/
212
213
-mocha.Mocha = Mocha;
214
-mocha.mocha = mocha;
+global.Mocha = Mocha;
+global.mocha = mocha;
215
216
// this allows test/acceptance/required-tokens.js to pass; thus,
217
// you can now do `const describe = require('mocha').describe` in a
rollup.config.js
@@ -17,8 +17,7 @@ const config = {
17
file: './mocha.js',
18
format: 'umd',
19
sourcemap: true,
20
- name: 'mocha',
21
- footer: 'window.Mocha = window.mocha.Mocha;'
+ name: 'mocha'
22
},
23
plugins: [
24
json(),
0 commit comments