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