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 non-chained default implementations (fixes #57) #58

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

devzeebo
Copy link
Contributor

@devzeebo devzeebo commented Jan 8, 2021

No description provided.

@devzeebo devzeebo changed the title Fix non-chained default implementations (Fixes #57) Fix non-chained default implementations (fixes #57) Jan 8, 2021
@codecov-io
Copy link

codecov-io commented Jan 8, 2021

Codecov Report

Merging #58 (bf5e3f2) into master (95f53e5) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #58   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           96        97    +1     
=========================================
+ Hits            96        97    +1     
Impacted Files Coverage Δ
src/when.js 100.00% <100.00%> (ø)

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 95f53e5...bf5e3f2. Read the comment docs.

@timkindberg timkindberg merged commit bc87ce5 into timkindberg:master Jan 8, 2021
@timkindberg
Copy link
Owner

Does this also fix #24 ?

@timkindberg
Copy link
Owner

Thanks BTW :)

@timkindberg
Copy link
Owner

[email protected]

@devzeebo
Copy link
Contributor Author

Unfortunately it doesn't fix #24, since the mock implementation isn't overridden until line 62. You'd have to declare the mock implementation in the constructor in order to enable it to be overridden with only a default implementation

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.

3 participants