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.
This commit is contained in:
Jurko Gospodnetić
2015-12-25 00:31:34 +01:00
parent 0d4c8d13bb
commit a047115eef
+1 -2
View File
@@ -198,8 +198,7 @@ getJasmineRequireObj().Env = function(j$) {
var topSuite = new j$.Suite({ var topSuite = new j$.Suite({
env: this, env: this,
id: getNextSuiteId(), id: getNextSuiteId(),
description: 'Jasmine__TopLevel__Suite', description: 'Jasmine__TopLevel__Suite'
queueRunner: queueRunnerFactory
}); });
runnableLookupTable[topSuite.id] = topSuite; runnableLookupTable[topSuite.id] = topSuite;
defaultResourcesForRunnable(topSuite.id); defaultResourcesForRunnable(topSuite.id);