Skip to content

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
@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