Skip to content

Commit

Permalink
use hasELapsedTime in another part
Browse files Browse the repository at this point in the history
  • Loading branch information
boxblinkracer committed Feb 1, 2024
1 parent 76736c3 commit 071b921
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/TestRail/TestRail.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ class TestRail {
],
};

// 0s is not valid
if (result.getElapsed() !== '0s') {
if (result.hasElapsedTime()) {
postData.results[0].elapsed = result.getElapsed();
}

Expand Down

0 comments on commit 071b921

Please sign in to comment.