testrunner: fix default environment name (#2870)
This commit is contained in:
parent
0c80c22716
commit
760283ea4e
|
|
@ -101,13 +101,14 @@ class Suite {
|
|||
constructor(parentSuite, name, location) {
|
||||
this._parentSuite = parentSuite;
|
||||
this._name = name;
|
||||
this._fullName = (parentSuite ? parentSuite.fullName() + ' ' + name : name).trim();
|
||||
const fullName = (parentSuite ? parentSuite.fullName() + ' ' + name : name).trim();
|
||||
this._fullName = fullName;
|
||||
this._location = location;
|
||||
this._skipped = false;
|
||||
this._expectation = TestExpectation.Ok;
|
||||
|
||||
this._defaultEnvironment = {
|
||||
name() { return this._fullName; },
|
||||
name() { return fullName; },
|
||||
};
|
||||
|
||||
this._environments = [this._defaultEnvironment];
|
||||
|
|
|
|||
Loading…
Reference in a new issue