Skip to content

Commit c594a86

Browse files
committed
fix: html reporter should use options.destination if passed in
1 parent 6e16852 commit c594a86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/reporters/html-reporter.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ class HtmlReporter implements Reporter {
1717
if (options?.autoOpen !== undefined) {
1818
this.autoOpen = options.autoOpen;
1919
}
20+
if (options?.destination !== undefined) {
21+
this.destination = options.destination;
22+
}
2023
}
2124

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

0 commit comments

Comments
 (0)