mirror of
https://github.com/usebruno/bruno.git
synced 2025-08-19 10:53:00 +02:00
skipped request should not be considered as errors in junit reports
This commit is contained in:
@@ -62,7 +62,10 @@ const makeJUnitOutput = async (results, outputPath) => {
|
||||
suite.testcase.push(testcase);
|
||||
});
|
||||
|
||||
if (result.error) {
|
||||
if (result?.skipped) {
|
||||
suite['@skipped'] = 1;
|
||||
}
|
||||
else if (result.error) {
|
||||
suite['@errors'] = 1;
|
||||
suite['@tests'] = 1;
|
||||
suite.testcase = [
|
||||
|
Reference in New Issue
Block a user