wycats/handlebars.js — pull request #747 by Jonahss (2014-02-20 04:54:31+00:00)
Title: updated grunt-saucelabs, failing tests revealed

grunt-saucelabs has been upgraded to use the Sauce Labs unit test API rather than using wd.js to manually use selenium to look for test results on the page. The new version requires code to report the unit test results on the page, but ends up being way more robust than looking for elements.

For example, turns out that a large number of tests in the handlebars test suite fail! The fault looks like it actually lies in Mocha and not handlebars. Half the tests report `passed: 0 failed: 0 total: 0` because mocha isn't even running correctly.

The tests silently passed before because 0 failing is good, right? Well the new way of doing things causes the js on the page to fail, so Sauce fails the test since results aren't reported.