Updating NPM dependencies
This commit is contained in:
22
node_modules/jest-jasmine2/build/jasmine/JsApiReporter.js
generated
vendored
22
node_modules/jest-jasmine2/build/jasmine/JsApiReporter.js
generated
vendored
@@ -112,7 +112,7 @@ class JsApiReporter {
|
||||
}
|
||||
}
|
||||
|
||||
this.jasmineDone = function(runDetails) {
|
||||
this.jasmineDone = function (runDetails) {
|
||||
validateAfterAllExceptions(runDetails);
|
||||
this.finished = true;
|
||||
this.runDetails = runDetails;
|
||||
@@ -120,24 +120,24 @@ class JsApiReporter {
|
||||
status = 'done';
|
||||
};
|
||||
|
||||
this.status = function() {
|
||||
this.status = function () {
|
||||
return status;
|
||||
};
|
||||
|
||||
const suites = [];
|
||||
const suites_hash = {};
|
||||
|
||||
this.specStarted = function() {};
|
||||
this.specStarted = function () {};
|
||||
|
||||
this.suiteStarted = function(result) {
|
||||
this.suiteStarted = function (result) {
|
||||
suites_hash[result.id] = result;
|
||||
};
|
||||
|
||||
this.suiteDone = function(result) {
|
||||
this.suiteDone = function (result) {
|
||||
storeSuite(result);
|
||||
};
|
||||
|
||||
this.suiteResults = function(index, length) {
|
||||
this.suiteResults = function (index, length) {
|
||||
return suites.slice(index, index + length);
|
||||
};
|
||||
|
||||
@@ -146,25 +146,25 @@ class JsApiReporter {
|
||||
suites_hash[result.id] = result;
|
||||
}
|
||||
|
||||
this.suites = function() {
|
||||
this.suites = function () {
|
||||
return suites_hash;
|
||||
};
|
||||
|
||||
const specs = [];
|
||||
|
||||
this.specDone = function(result) {
|
||||
this.specDone = function (result) {
|
||||
specs.push(result);
|
||||
};
|
||||
|
||||
this.specResults = function(index, length) {
|
||||
this.specResults = function (index, length) {
|
||||
return specs.slice(index, index + length);
|
||||
};
|
||||
|
||||
this.specs = function() {
|
||||
this.specs = function () {
|
||||
return specs;
|
||||
};
|
||||
|
||||
this.executionTime = function() {
|
||||
this.executionTime = function () {
|
||||
return executionTime;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user