Remove type from queueableFns since we're not using it to determine afterAll anymore.

This commit is contained in:
slackersoft
2014-09-30 18:28:05 -07:00
parent a58fd20d82
commit d9c0b10be4

View File

@@ -350,7 +350,6 @@ getJasmineRequireObj().Env = function(j$) {
userContext: function() { return suite.clonedSharedUserContext(); }, userContext: function() { return suite.clonedSharedUserContext(); },
queueableFn: { queueableFn: {
fn: fn, fn: fn,
type: 'it',
timeout: function() { return timeout || j$.DEFAULT_TIMEOUT_INTERVAL; } timeout: function() { return timeout || j$.DEFAULT_TIMEOUT_INTERVAL; }
} }
}); });
@@ -407,7 +406,6 @@ getJasmineRequireObj().Env = function(j$) {
this.beforeEach = function(beforeEachFunction, timeout) { this.beforeEach = function(beforeEachFunction, timeout) {
currentDeclarationSuite.beforeEach({ currentDeclarationSuite.beforeEach({
fn: beforeEachFunction, fn: beforeEachFunction,
type: 'beforeEach',
timeout: function() { return timeout || j$.DEFAULT_TIMEOUT_INTERVAL; } timeout: function() { return timeout || j$.DEFAULT_TIMEOUT_INTERVAL; }
}); });
}; };
@@ -415,7 +413,6 @@ getJasmineRequireObj().Env = function(j$) {
this.beforeAll = function(beforeAllFunction, timeout) { this.beforeAll = function(beforeAllFunction, timeout) {
currentDeclarationSuite.beforeAll({ currentDeclarationSuite.beforeAll({
fn: beforeAllFunction, fn: beforeAllFunction,
type: 'beforeAll',
timeout: function() { return timeout || j$.DEFAULT_TIMEOUT_INTERVAL; } timeout: function() { return timeout || j$.DEFAULT_TIMEOUT_INTERVAL; }
}); });
}; };
@@ -423,7 +420,6 @@ getJasmineRequireObj().Env = function(j$) {
this.afterEach = function(afterEachFunction, timeout) { this.afterEach = function(afterEachFunction, timeout) {
currentDeclarationSuite.afterEach({ currentDeclarationSuite.afterEach({
fn: afterEachFunction, fn: afterEachFunction,
type: 'afterEach',
timeout: function() { return timeout || j$.DEFAULT_TIMEOUT_INTERVAL; } timeout: function() { return timeout || j$.DEFAULT_TIMEOUT_INTERVAL; }
}); });
}; };
@@ -431,7 +427,6 @@ getJasmineRequireObj().Env = function(j$) {
this.afterAll = function(afterAllFunction, timeout) { this.afterAll = function(afterAllFunction, timeout) {
currentDeclarationSuite.afterAll({ currentDeclarationSuite.afterAll({
fn: afterAllFunction, fn: afterAllFunction,
type: 'afterAll',
timeout: function() { return timeout || j$.DEFAULT_TIMEOUT_INTERVAL; } timeout: function() { return timeout || j$.DEFAULT_TIMEOUT_INTERVAL; }
}); });
}; };