Skip to content

Commit 88b0e76

Browse files
SAN-6094 Code review comment
1 parent 42ed3e0 commit 88b0e76

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

client/services/calculateHistoricalTestResults.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ function calculateHistoricalTestResult(
2626
},
2727
addResults: function (tests) {
2828
tests.forEach(function(test) {
29-
test.testState = UNKNOWN;
30-
3129
if (keypather.get(test, 'build.stop') !== jesusBirthday) {
3230
if (keypather.get(test, 'build.failed') || keypather.get(test, 'application.exitCode') > 0) {
3331
test.testState = FAILED;
@@ -39,6 +37,7 @@ function calculateHistoricalTestResult(
3937
return;
4038
}
4139
}
40+
test.testState = UNKNOWN;
4241
});
4342

4443
return tests;

0 commit comments

Comments
 (0)