diff options
Diffstat (limited to 'node_modules/mocha/lib/reporters/templates/menu.jade')
-rw-r--r-- | node_modules/mocha/lib/reporters/templates/menu.jade | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/node_modules/mocha/lib/reporters/templates/menu.jade b/node_modules/mocha/lib/reporters/templates/menu.jade new file mode 100644 index 000000000..c682e3f0e --- /dev/null +++ b/node_modules/mocha/lib/reporters/templates/menu.jade @@ -0,0 +1,13 @@ +#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 |