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

View File

@@ -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);