From 07279c8dc723a6a1a84603729fa47e18b134e1ec Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 1 Jun 2017 10:23:24 +0200 Subject: [PATCH] export boolean Test.testing --- www/common/test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/common/test.js b/www/common/test.js index b56237689..a0a743f2b 100644 --- a/www/common/test.js +++ b/www/common/test.js @@ -52,6 +52,7 @@ define([], function () { }); }; out = function (f) { f(); }; + out.testing = true; out.passed = function () { cpt.data.push({ type: 'report', @@ -67,6 +68,8 @@ define([], function () { error: { message: e.message, stack: e.stack } }); }; + } else { + out.testing = false; } return out; -}); \ No newline at end of file +});