diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index d299993f..0794b7c3 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -518,7 +518,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; @@ -713,7 +712,6 @@ getJasmineRequireObj().Env = function(j$) { expectationFactory: expectationFactory, expectationResultFactory: expectationResultFactory }); - runnableLookupTable[topSuite.id] = topSuite; defaultResourcesForRunnable(topSuite.id); currentDeclarationSuite = topSuite; @@ -811,7 +809,6 @@ getJasmineRequireObj().Env = function(j$) { throwOnExpectationFailure: throwOnExpectationFailure }); - runnableLookupTable[suite.id] = suite; return suite; }; @@ -913,8 +910,6 @@ getJasmineRequireObj().Env = function(j$) { throwOnExpectationFailure: throwOnExpectationFailure }); - runnableLookupTable[spec.id] = spec; - if (!self.specFilter(spec)) { spec.disable(); } @@ -2983,7 +2978,7 @@ getJasmineRequireObj().matchersUtil = function(j$) { var extraKeys = []; for (var i in allKeys) { if (!allKeys[i].match(/^[0-9]+$/)) { - extraKeys.push(key); + extraKeys.push(allKeys[i]); } }