Merge pull request #907 from isiahmeadows/update

Update dependencies, clean up couple things
This commit is contained in:
Leo Horie 2015-12-20 16:40:08 -05:00
commit b2972e9934
2 changed files with 4 additions and 6 deletions

View file

@ -24,7 +24,7 @@
"grunt": "*",
"grunt-cli": "*",
"grunt-contrib-clean": "*",
"grunt-contrib-connect": "~0.7.1",
"grunt-contrib-connect": "^0.11.2",
"grunt-contrib-copy": "*",
"grunt-contrib-uglify": "*",
"grunt-eslint": "^17.3.1",
@ -34,10 +34,8 @@
"grunt-saucelabs": "*",
"grunt-saucelabs-browsers": "^0.2.0",
"grunt-zip": "*",
"load-grunt-config": "^0.9.2",
"mocha": "^2.3.3",
"request": "~2.35.0",
"saucelabs": "~0.1.1",
"request": "^2.67.0",
"sinon": "^1.17.2",
"sinon-chai": "^2.8.0"
},

View file

@ -47,12 +47,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) {