Skip to content

Commit

Permalink
fix: html reporter should use options.destination if passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejonas committed Aug 23, 2024
1 parent 6e16852 commit c594a86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/reporters/html-reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ class HtmlReporter implements Reporter {
if (options?.autoOpen !== undefined) {
this.autoOpen = options.autoOpen;
}
if (options?.destination !== undefined) {
this.destination = options.destination;
}
}

onBegin(options: IOptions, calls: Call[]) {}
Expand Down

0 comments on commit c594a86

Please sign in to comment.