haberdashPI / vscode-selection-utilities

Kakaune-inspired collection of useful commands for manipulating selections.
MIT License
9 stars 0 forks source link

Tests / fixes for `moveBy` #52

Closed haberdashPI closed 1 month ago

haberdashPI commented 1 month ago

Adds tests to verify working unit motions, and simplifies and corrects the unit-motion logic.

TODO:

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 94.39252% with 6 lines in your changes missing coverage. Please review.

Project coverage is 42.07%. Comparing base (386a933) to head (571cc99).

Files with missing lines Patch % Lines
src/web/unitMotions.ts 96.19% 4 Missing :warning:
src/web/activeMotions.ts 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #52 +/- ## =========================================== + Coverage 25.08% 42.07% +16.99% =========================================== Files 10 10 Lines 925 927 +2 Branches 249 240 -9 =========================================== + Hits 232 390 +158 + Misses 688 535 -153 + Partials 5 2 -3 ```

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