Better HN
top
new
best
ask
show
jobs
Log in
Sign up
stevesmithwick
2 karma · joined Mar 4, 2019 (7y ago) · 1 submissions
Submissions
comment 7y ago ·
link
·
parent
A good use of mocks/spies is if you need to test a side-effect. For instance: did your code call that service with the right parameters?