New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@comeonautomation/reportportal-client

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comeonautomation/reportportal-client - npm Package Compare versions

Comparing version

to
2.1.0

27

lib/report-portal-client.js

@@ -354,20 +354,17 @@ /* eslint-disable quotes,no-console,class-methods-use-this */

const item_id_url='/item/uuid/'+response.content[i].id
if (response.content[i].statistics.executions.skipped==1 && response.content[i].hasChildren == false){
this.restClient
.retrieve(item_id_url)
.then(response => {
hasSkipTestItems.push(response.id)
});
}
if ((response.content[i].statistics.executions.skipped==1 && response.content[i].hasChildren == false) || (response.content[i].statistics.executions.total==response.content[i].statistics.executions.skipped)){
this.restClient
.retrieve(item_id_url)
.then(response => {
hasSkipTestItems.push(response.id)
this.restClient
.delete("/item?ids="+response.id)
.then(response => {
this.logDebug('Deleted Skipped tests successfully');
});
});
}
}
});
}
const test_item_delete_url = "/item?ids="+hasSkipTestItems;
this.logDebug(test_item_delete_url)
this.restClient
.delete(test_item_delete_url)
.then(response => {
this.logDebug('Deleted Skipped tests successfully');
});
}

@@ -374,0 +371,0 @@

{
"name": "@comeonautomation/reportportal-client",
"version": "2.0.0",
"version": "2.1.0",
"description": "ReportPortal client for node.js",

@@ -5,0 +5,0 @@ "contributors": [