Update dependencies, clean up couple things
This commit is contained in:
parent
ab54bd4cba
commit
bfa3899ec8
2 changed files with 4 additions and 6 deletions
|
|
@ -26,7 +26,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",
|
||||
|
|
@ -36,10 +36,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"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue