cjohansen/Sinon.JS — pull request #520 by mroderick (2014-07-28 08:58:45+00:00)
Title: Silence console

It is a lot easier to see mistakes you've made, if the browser's console is empty under normal, successful runs of the test suite. Mistakes won't be able to hide between (expected) errors being logged.

This pull request silences the log output in two cases where errors are expected (as set up by the test itself) and rewrites one test case that didn't make much sense (and would spam the console as a side effect).

#### Before
![2014-07-28 at 10 44](https://cloud.githubusercontent.com/assets/20321/3718221/83f28a98-1633-11e4-9abf-9fa4cfdcbca2.png)

#### After
![2014-07-28 at 10 45](https://cloud.githubusercontent.com/assets/20321/3718230/9c7676d8-1633-11e4-89f2-2493e4510237.png)

Once this pull request is merged, it will be easier to see when you've messed up, as there will be something in the console, when there shouldn't be.