From a047115eef964ed5cfd4068842a97a7e6baaff2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Fri, 25 Dec 2015 00:31:34 +0100 Subject: [PATCH] remove extra topSuite `queueRunner` construction parameter The `Suite` constructor function does not expect or use the its only `attrs` parameter's `queueRunner` attribute, so setting it serves no purpose and only clutters the code and makes it more difficult to understand. --- src/core/Env.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/Env.js b/src/core/Env.js index 5289fd18..c9db4e91 100644 --- a/src/core/Env.js +++ b/src/core/Env.js @@ -198,8 +198,7 @@ getJasmineRequireObj().Env = function(j$) { var topSuite = new j$.Suite({ env: this, id: getNextSuiteId(), - description: 'Jasmine__TopLevel__Suite', - queueRunner: queueRunnerFactory + description: 'Jasmine__TopLevel__Suite' }); runnableLookupTable[topSuite.id] = topSuite; defaultResourcesForRunnable(topSuite.id);