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

fix: improves error message (#10020) #10021

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ajlouie
Copy link

@ajlouie ajlouie commented Sep 14, 2024

Fixes #10020: Throws error with a more helpful message if a provider object is passed to keep or mock.

@ajlouie ajlouie requested a review from satanTime as a code owner September 14, 2024 00:40
Throws error with a more helpful message if a provider object is passed to `keep` or `mock`.
@ajlouie ajlouie force-pushed the bug/10020-error-message branch from 2b65713 to 8a7295e Compare September 20, 2024 15:42
Copy link

codecov bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (8571f29) to head (2f7c0dd).
Report is 860 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #10021   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          227       227           
  Lines         4946      4952    +6     
  Branches      1148      1149    +1     
=========================================
+ Hits          4946      4952    +6     

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

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.

Bug: Unhelpful error message when MockBuilder .keep() or mock() is used instead of .provide()
2 participants