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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user