Skip to content

Commit

Permalink
fix: new Date() such that it works with MockDate library (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
uulwake committed Jul 13, 2022
1 parent 0516f51 commit 85905f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/istanbul-reports/lib/html/index.js
Expand Up @@ -262,7 +262,7 @@ class HtmlReport extends ReportBase {
this.verbose = opts.verbose;
this.linkMapper = opts.linkMapper || standardLinkMapper;
this.subdir = opts.subdir || '';
this.date = Date();
this.date = new Date().toISOString();
this.skipEmpty = opts.skipEmpty;
}

Expand Down

0 comments on commit 85905f9

Please sign in to comment.