altsem / gitu

A TUI Git client inspired by Magit
MIT License
1.7k stars 88 forks source link

test: module to parse key input #109

Closed altsem closed 4 months ago

altsem commented 4 months ago

It is unfinished, but will prove useful for supporting configurable keybinds.

There's a lot of boilerplate in the tests that it'll help solve. So starting there.

TODO

codecov-commenter commented 4 months ago

Codecov Report

Attention: Patch coverage is 98.93617% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 88.60%. Comparing base (f04b4e8) to head (fc90562).

Files Patch % Lines
src/bindings.rs 99.31% 1 Missing :warning:
src/state.rs 93.33% 1 Missing :warning:
src/tests/helpers/ui.rs 83.33% 1 Missing :warning:
src/ui.rs 95.83% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #109 +/- ## ========================================== + Coverage 88.41% 88.60% +0.19% ========================================== Files 41 42 +1 Lines 3954 3766 -188 ========================================== - Hits 3496 3337 -159 + Misses 458 429 -29 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.