Suites just have children instead of separating into specs/suites
This commit is contained in:
@@ -14,8 +14,6 @@ getJasmineRequireObj().Suite = function() {
|
||||
this.disabled = false;
|
||||
|
||||
this.children_ = []; // TODO: rename
|
||||
this.suites = []; // TODO: needed?
|
||||
this.specs = []; // TODO: needed?
|
||||
|
||||
this.result = {
|
||||
id: this.id,
|
||||
@@ -49,13 +47,11 @@ getJasmineRequireObj().Suite = function() {
|
||||
|
||||
Suite.prototype.addSpec = function(spec) {
|
||||
this.children_.push(spec);
|
||||
this.specs.push(spec); // TODO: needed?
|
||||
};
|
||||
|
||||
Suite.prototype.addSuite = function(suite) {
|
||||
suite.parentSuite = this;
|
||||
this.children_.push(suite);
|
||||
this.suites.push(suite); // TODO: needed?
|
||||
};
|
||||
|
||||
Suite.prototype.children = function() {
|
||||
|
||||
Reference in New Issue
Block a user