Build distribution
This commit is contained in:
@@ -518,7 +518,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;
|
||||||
@@ -713,7 +712,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;
|
||||||
|
|
||||||
@@ -811,7 +809,6 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
throwOnExpectationFailure: throwOnExpectationFailure
|
throwOnExpectationFailure: throwOnExpectationFailure
|
||||||
});
|
});
|
||||||
|
|
||||||
runnableLookupTable[suite.id] = suite;
|
|
||||||
return suite;
|
return suite;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -913,8 +910,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();
|
||||||
}
|
}
|
||||||
@@ -2983,7 +2978,7 @@ getJasmineRequireObj().matchersUtil = function(j$) {
|
|||||||
var extraKeys = [];
|
var extraKeys = [];
|
||||||
for (var i in allKeys) {
|
for (var i in allKeys) {
|
||||||
if (!allKeys[i].match(/^[0-9]+$/)) {
|
if (!allKeys[i].match(/^[0-9]+$/)) {
|
||||||
extraKeys.push(key);
|
extraKeys.push(allKeys[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user