Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
ignorabilis
· 11y ago · 0 comments
You don't need to mock it. In your tests just manually call the code that is going to be executed if the I/O call returns an error. This goes for both OOP and FP.
Comments
No comments yet.
Better HN