-
Notifications
You must be signed in to change notification settings - Fork 93
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
Mock free functions #140
base: master
Are you sure you want to change the base?
Mock free functions #140
Conversation
Codecov Report
@@ Coverage Diff @@
## master #140 +/- ##
========================================
+ Coverage 94.93% 95% +0.06%
========================================
Files 34 34
Lines 612 620 +8
Branches 71 71
========================================
+ Hits 581 589 +8
Misses 22 22
Partials 9 9
Continue to review full report at Codecov.
|
Is there really no way to mock an unbound function at the moment? I don't like the name |
Can we resolve conflicts and get this in? @NagRock |
Codecov Report
@@ Coverage Diff @@
## master #140 +/- ##
==========================================
+ Coverage 94.93% 95.00% +0.06%
==========================================
Files 34 34
Lines 612 620 +8
Branches 71 71
==========================================
+ Hits 581 589 +8
Misses 22 22
Partials 9 9
Continue to review full report at Codecov.
|
Can we get this merged in please? |
I really hope that we can get this merged!!! |
Mock free functions, without the need for any class to mock
Example:
Typescript 3.0+ is required for matching rest args to a tuple type, in this function signature: