Update dependencies, clean up couple things
This commit is contained in:
parent
ab54bd4cba
commit
bfa3899ec8
2 changed files with 4 additions and 6 deletions
|
|
@ -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