Create an example that includes tests and how to run them. #122 (#130)

This commit is contained in:
Mykyta Khmel
2016-12-01 01:09:28 +02:00
committed by Kumar McMillan
parent 01181a350b
commit 395786e353
19 changed files with 214 additions and 0 deletions
@@ -0,0 +1,5 @@
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();