bokub / linky

🔌 CLI tool to retrieve Linky smart meters data
GNU General Public License v3.0
226 stars 22 forks source link

Use dynamic dates in tests #40

Closed bokub closed 2 years ago

bokub commented 2 years ago

Tests were failing because 2020 is too far from now.

Using dynamic dates instead solves the issue

codecov-commenter commented 2 years ago

Codecov Report

Base: 86.01% // Head: 89.18% // Increases project coverage by +3.17% :tada:

Coverage data is based on head (7a975a0) compared to base (35f2d50). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #40 +/- ## ========================================== + Coverage 86.01% 89.18% +3.17% ========================================== Files 1 1 Lines 143 185 +42 Branches 16 16 ========================================== + Hits 123 165 +42 Misses 20 20 ``` | [Impacted Files](https://codecov.io/gh/bokub/linky/pull/40?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boris+K) | Coverage Δ | | |---|---|---| | [src/index.ts](https://codecov.io/gh/bokub/linky/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boris+K#diff-c3JjL2luZGV4LnRz) | `89.18% <100.00%> (+3.17%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boris+K). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Boris+K)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.