Sha256: 3c18e057050efdb52e89cc61e3e6ffcaab686165629bc6ed14df3f060fb912a7
Contents?: true
Size: 600 Bytes
Versions: 8
Compression:
Stored size: 600 Bytes
Contents
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 () { throw new Error("Failed to load " + path + ".\n" + "Perhaps it failed to compile? Check the rake output for errors."); })); })(iframes[i].getAttribute("data-path")); } } mocha.run(); };
Version data entries
8 entries across 8 versions & 1 rubygems