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: toHavePattern & toMatchGroups matchers #30

Merged
merged 5 commits into from
Dec 22, 2023

Conversation

mdjastrzebski
Copy link
Member

@mdjastrzebski mdjastrzebski commented Dec 21, 2023

Summary

Simplify test by introducing toHavePattern & toMatchGroups custom Jest matchers

Test plan

Modified tests.

@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f45e8a5) 100.00% compared to head (d3a2170) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10         9    -1     
  Lines          129       127    -2     
  Branches        32        32           
=========================================
- Hits           129       127    -2     

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

@mdjastrzebski mdjastrzebski changed the title refactor: toHavePattern matcher refactor: toHavePattern & toMatchGroups matchers Dec 22, 2023
@mdjastrzebski mdjastrzebski merged commit f620c06 into main Dec 22, 2023
3 checks passed
@mdjastrzebski mdjastrzebski deleted the refactor/to-have-pattern-matcher branch December 22, 2023 09:27
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