app/assets/javascripts/konacha/parent.js in konacha-2.0.0.beta3 vs app/assets/javascripts/konacha/parent.js in konacha-2.0.0
- old
+ new
@@ -1,5 +1,9 @@
window.onload = function () {
+ mocha.suite.suites.sort(function (a, b) {
+ return a.path.localeCompare(b.path);
+ });
+
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 () {