From d443f92f3337e9429b8c9e288f7689f789e3c67e Mon Sep 17 00:00:00 2001 From: Nathan Leniz Date: Wed, 28 Jan 2015 17:32:21 -0500 Subject: [PATCH] Prevent success from showing if no tests or other errors are encountered --- public/js/lib/bonfire/bonfireFramework.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/public/js/lib/bonfire/bonfireFramework.js b/public/js/lib/bonfire/bonfireFramework.js index e7fc90cf28..83a8742b5c 100644 --- a/public/js/lib/bonfire/bonfireFramework.js +++ b/public/js/lib/bonfire/bonfireFramework.js @@ -214,10 +214,12 @@ var runTests = function(err, data) { } } }); - } - if (allTestsPassed) { - allTestsPassed = false; - showCompletion(); + + if (allTestsPassed) { + allTestsPassed = false; + showCompletion(); + } + } };