mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 06:48:37 +02:00
5 lines
254 B
JavaScript
5 lines
254 B
JavaScript
mocha.checkLeaks();
|
|
// Here we add initial global variables to prevent this error:
|
|
// Error: global leaks detected: AppView, ExtensionOptions, ExtensionView, WebView
|
|
mocha.globals(['AppView', 'ExtensionOptions', 'ExtensionView', 'WebView']);
|
|
mocha.run(); |