NagRock / ts-mockito

Mocking library for TypeScript
MIT License
977 stars 93 forks source link

Allow any type as method stub rejections. #199

Open cornr opened 4 years ago

cornr commented 4 years ago

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

codecov-commenter commented 4 years ago

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%) :arrow_down:

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.