Skip to content

Commit

Permalink
Prevent default browser behavior for failure/pass links
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Appelman <jappelman@xebia.com>
Closes #1572
  • Loading branch information
jschiq2 authored and Joshua Appelman committed Jun 5, 2015
1 parent d10a196 commit f3c2a0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/reporters/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ exports = module.exports = HTML;

var statsTemplate = '<ul id="mocha-stats">'
+ '<li class="progress"><canvas width="40" height="40"></canvas></li>'
+ '<li class="passes"><a href="#">passes:</a> <em>0</em></li>'
+ '<li class="failures"><a href="#">failures:</a> <em>0</em></li>'
+ '<li class="passes"><a href="javascript:void(0);">passes:</a> <em>0</em></li>'
+ '<li class="failures"><a href="javascript:void(0);">failures:</a> <em>0</em></li>'
+ '<li class="duration">duration: <em>0</em>s</li>'
+ '</ul>';

Expand Down

0 comments on commit f3c2a0a

Please sign in to comment.