pixelnode/node_modules/mocha/lib/reporters/templates/menu.jade

14 lines
406 B
Plaintext
Raw Permalink Normal View History

2018-04-04 12:31:55 +02:00
#menu
li
a(href='#overview') overview
for file in cov.files
li
span.cov(class=coverageClass(file.coverage)) #{file.coverage | 0}
a(href='##{file.filename}')
segments = file.filename.split('/')
basename = segments.pop()
if segments.length
span.dirname= segments.join('/') + '/'
span.basename= basename
a#logo(href='http://mochajs.org/') m