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(); + } + } };