Merge pull request #1129 from gregeinfrank/remove-runnable-lookup-table

Remove runnableLookupTable which is no longer used
This commit is contained in:
Greg Cobb
2016-07-18 23:39:15 -07:00
committed by GitHub

View File

@@ -13,7 +13,6 @@ getJasmineRequireObj().Env = function(j$) {
var realClearTimeout = j$.getGlobal().clearTimeout;
this.clock = new j$.Clock(global, function () { return new j$.DelayedFunctionScheduler(); }, new j$.MockDate(global));
var runnableLookupTable = {};
var runnableResources = {};
var currentSpec = null;
@@ -208,7 +207,6 @@ getJasmineRequireObj().Env = function(j$) {
expectationFactory: expectationFactory,
expectationResultFactory: expectationResultFactory
});
runnableLookupTable[topSuite.id] = topSuite;
defaultResourcesForRunnable(topSuite.id);
currentDeclarationSuite = topSuite;
@@ -306,7 +304,6 @@ getJasmineRequireObj().Env = function(j$) {
throwOnExpectationFailure: throwOnExpectationFailure
});
runnableLookupTable[suite.id] = suite;
return suite;
};
@@ -408,8 +405,6 @@ getJasmineRequireObj().Env = function(j$) {
throwOnExpectationFailure: throwOnExpectationFailure
});
runnableLookupTable[spec.id] = spec;
if (!self.specFilter(spec)) {
spec.disable();
}