Skip to content

Commit bcca7bf

Browse files
SAN-6019 Default it instead.
1 parent 09c4658 commit bcca7bf

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

client/services/calculateHistoricalTestResults.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,15 @@ function calculateHistoricalTestResult(
2626
},
2727
addResults: function (tests) {
2828
tests.forEach(function(test) {
29+
test.testState = UNKNOWN;
30+
2931
if (keypather.get(test, 'build.stop') !== jesusBirthday) {
3032
if (keypather.get(test, 'build.failed') || keypather.get(test, 'application.exitCode') > 0) {
3133
test.testState = FAILED;
3234
} else if (keypather.get(test,'application.exitCode') === 0 && keypather.get(test,'application.stop') !== jesusBirthday) {
3335
test.testState = PASSED;
3436
}
3537
}
36-
if (!test.testState) {
37-
test.testState = UNKNOWN;
38-
}
3938
});
4039

4140
return tests;

0 commit comments

Comments
 (0)