Remove runnableLookupTable which is no longer used

This commit is contained in:
Greg Einfrank
2016-06-08 10:59:42 -07:00
parent f6da084642
commit e13c7a55a9
-5
View File
@@ -13,7 +13,6 @@ getJasmineRequireObj().Env = function(j$) {
var realClearTimeout = j$.getGlobal().clearTimeout; var realClearTimeout = j$.getGlobal().clearTimeout;
this.clock = new j$.Clock(global, function () { return new j$.DelayedFunctionScheduler(); }, new j$.MockDate(global)); this.clock = new j$.Clock(global, function () { return new j$.DelayedFunctionScheduler(); }, new j$.MockDate(global));
var runnableLookupTable = {};
var runnableResources = {}; var runnableResources = {};
var currentSpec = null; var currentSpec = null;
@@ -208,7 +207,6 @@ getJasmineRequireObj().Env = function(j$) {
expectationFactory: expectationFactory, expectationFactory: expectationFactory,
expectationResultFactory: expectationResultFactory expectationResultFactory: expectationResultFactory
}); });
runnableLookupTable[topSuite.id] = topSuite;
defaultResourcesForRunnable(topSuite.id); defaultResourcesForRunnable(topSuite.id);
currentDeclarationSuite = topSuite; currentDeclarationSuite = topSuite;
@@ -306,7 +304,6 @@ getJasmineRequireObj().Env = function(j$) {
throwOnExpectationFailure: throwOnExpectationFailure throwOnExpectationFailure: throwOnExpectationFailure
}); });
runnableLookupTable[suite.id] = suite;
return suite; return suite;
}; };
@@ -408,8 +405,6 @@ getJasmineRequireObj().Env = function(j$) {
throwOnExpectationFailure: throwOnExpectationFailure throwOnExpectationFailure: throwOnExpectationFailure
}); });
runnableLookupTable[spec.id] = spec;
if (!self.specFilter(spec)) { if (!self.specFilter(spec)) {
spec.disable(); spec.disable();
} }