The difference between mocks and stubs, explained with JS
A simpler explanation for mocks vs stubs
Tags: javascript, testing, tdd, beginners