☕️ Classic, reliable, trusted test framework for Node.js and the browser
merged
Tj Holowaychuk6b63e555e432
diff --cc support/tail.jsindex 8975eb61,c8912672..7f8c65d1--- a/support/tail.js+++ b/support/tail.js@@@ -56,12 -72,10 +72,16 @@@ window.mocha = require('mocha'), utils = mocha.utils, Reporter = mocha.reporters.HTML+ $(function(){+ $('code').each(function(){+ $(this).html(highlight($(this).text()));+ });+ });++ /**+ * Highlight the given string of `js`.+ */+function highlight(js) {return js.replace(/</g, '<')diff --cc test/browser/style.cssindex 1b606ffe,bd811eb6..163cd13f--- a/test/browser/style.css+++ b/test/browser/style.css@@@ -121,5 -120,14 +122,14 @@@ body}#stats li {+ display: inline-block;+ margin: 0 5px;list-style: none;- }+ padding-top: 11px;+ }++ code .comment { color: #ddd }+ code .init { color: #2F6FAD }+ code .string { color: #5890AD }+ code .keyword { color: #8A6343 }-code .number { color: #2F6FAD }++code .number { color: #2F6FAD }