Skip to content

Commit 09c4658

Browse files
SAN-6094 Removing null check that should never happen
1 parent fb116a7 commit 09c4658

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/services/calculateHistoricalTestResults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function calculateHistoricalTestResult(
2626
},
2727
addResults: function (tests) {
2828
tests.forEach(function(test) {
29-
if (test && keypather.get(test, 'build.stop') !== jesusBirthday) {
29+
if (keypather.get(test, 'build.stop') !== jesusBirthday) {
3030
if (keypather.get(test, 'build.failed') || keypather.get(test, 'application.exitCode') > 0) {
3131
test.testState = FAILED;
3232
} else if (keypather.get(test,'application.exitCode') === 0 && keypather.get(test,'application.stop') !== jesusBirthday) {

0 commit comments

Comments
 (0)