From 172f2b49000f0d97b32b631f9ba7ee9e4cd6c417 Mon Sep 17 00:00:00 2001 From: Wolfgang Kinkeldei Date: Wed, 29 Feb 2012 17:28:48 +0100 Subject: [PATCH] fixed stopping qunit test runner after first test --- lib/js/qunit.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/js/qunit.js b/lib/js/qunit.js index 4c4f6ca..1cf9d16 100644 --- a/lib/js/qunit.js +++ b/lib/js/qunit.js @@ -20,7 +20,9 @@ window.addEventListener("load", function(){ print(ansi.green + result.passed + " passed, " + ansi.none); print("Total " + result.total); puts(""); - - Ichabod.exit(); + }; + + QUnit.done = function() { + Ichabod.exit(); }; }); \ No newline at end of file