We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9554876 commit c8f4446Copy full SHA for c8f4446
bin/helpers/sync/failedSpecsDetails.js
@@ -77,13 +77,12 @@ let failedSpecsDetails = (data) => {
77
}
78
79
let getSpecStatus = (specStatus) => {
80
- console.log(`roshan1: specStatus is ${specStatus} ::`)
81
switch(specStatus.toLowerCase()) {
82
- case specStatus == 'failed': return chalk.red(specStatus);
83
- case specStatus == 'pending':
84
- case specStatus == 'passed_with_pending':
85
- case specStatus == 'skipped':
86
- case specStatus == 'passed_with_skipped': return chalk.blueBright(specStatus);
+ case 'failed': return chalk.red(specStatus);
+ case 'pending':
+ case 'passed_with_pending':
+ case 'skipped':
+ case 'passed_with_skipped': return chalk.blueBright(specStatus);
87
default: chalk.yellow(specStatus);
88
89
0 commit comments