Skip to content

Commit

Permalink
chore: Force html-spa to always be nested (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeapage authored and coreyfarrell committed Jul 3, 2019
1 parent 4416845 commit 80586bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/istanbul-reports/lib/html-spa/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ const standardLinkMapper = {

class HtmlSpaReport extends ReportBase {
constructor(opts = {}) {
super();
// force the summarizer to nested for html-spa
super('nested');

this.verbose = opts.verbose || false;
this.linkMapper = opts.linkMapper || standardLinkMapper;
Expand Down

0 comments on commit 80586bf

Please sign in to comment.