Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: encoder structure #28

Closed
wants to merge 5 commits into from
Closed

Conversation

mdjastrzebski
Copy link
Member

Summary

Improve code structure by implementing component structure & encoding process based on classes with encode() method.

Test plan

All existing tests should pass. Modified some tests are were affected by the refactor.

@codecov-commenter
Copy link

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (1b4e445) 100.00% compared to head (716a810) 96.37%.

Files Patch % Lines
src/components/quantifiers.ts 87.50% 4 Missing ⚠️
src/components/character-class.ts 93.75% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main      #28      +/-   ##
===========================================
- Coverage   100.00%   96.37%   -3.63%     
===========================================
  Files           10       10              
  Lines          124      138      +14     
  Branches        30       26       -4     
===========================================
+ Hits           124      133       +9     
- Misses           0        5       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mdjastrzebski mdjastrzebski deleted the refactor/encoder-structure branch January 1, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants