app/assets/javascripts/konacha/parent.js in konacha-2.6.0 vs app/assets/javascripts/konacha/parent.js in konacha-2.7.0

- old
+ new

@@ -1,9 +1,11 @@ window.onload = function () { + // The iframe order is undefined, so we make it predictable. mocha.suite.suites.sort(function (a, b) { return a.path.localeCompare(b.path); }); + // Check that all iframes loaded successfully. var iframes = document.getElementsByTagName('iframe'); for (var i = 0; i < iframes.length; ++i) { if (!iframes[i].contentWindow.mocha) { (function (path) { mocha.suite.addTest(new Mocha.Test(path, function () {