diff --git a/tests/index.html b/tests/index.html index 1561f12..a498afb 100644 --- a/tests/index.html +++ b/tests/index.html @@ -11,14 +11,7 @@ - + diff --git a/tests/setup-mocha.js b/tests/setup-mocha.js new file mode 100644 index 0000000..d707bbb --- /dev/null +++ b/tests/setup-mocha.js @@ -0,0 +1,8 @@ +var mocha = require('mocha'); + +mocha.setup('bdd').timeout(10000).slow(250); + +window.onload = function() { + mocha.checkLeaks(); + mocha.run(); +};