Using sinon.js with bower (why is sinon.foo undefined?)
Unfortunately if you're using sinon.js via bower for testing in the browser. If you just bower install sinon you'll end up with all the components from the repo, not a built file which is what the release file is. If you want say bower.stub() to work you'll need…