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

Allow any type as method stub rejections. #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cornr
Copy link

@cornr cornr commented Jul 24, 2020

Reverted the restrictions from version 2.4.0 again: All types (not only Error types) are possible as method rejections.
See #150

@codecov-commenter
Copy link

Codecov Report

Merging #199 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #199      +/-   ##
==========================================
- Coverage   93.55%   93.54%   -0.01%     
==========================================
  Files          34       34              
  Lines         652      651       -1     
  Branches       80       80              
==========================================
- Hits          610      609       -1     
  Misses         30       30              
  Partials       12       12              
Impacted Files Coverage Δ
src/ts-mockito.ts 96.72% <ø> (ø)
src/MethodStubSetter.ts 83.67% <100.00%> (-0.33%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6637048...f704dbb. Read the comment docs.

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.

None yet

2 participants