Update dependencies, clean up couple things

This commit is contained in:
impinball 2015-12-20 03:07:50 -05:00
parent ab54bd4cba
commit bfa3899ec8
2 changed files with 4 additions and 6 deletions

View file

@ -48,12 +48,12 @@ var runner = mocha.run()
var failedTests = []
runner.on('end', function() {
runner.on("end", function() {
window.mochaResults = runner.stats
window.mochaResults.reports = failedTests
})
runner.on('fail', function (test, err) {
runner.on("fail", function (test, err) {
function flattenTitles(test) {
var titles = []
while (test.parent.title) {