Skip to content

Commit 01a6a75

Browse files
authored
Merge pull request #487 from open-rpc/fix/html-reporter-destination
fix: html reporter should use options.destination if passed in
2 parents 6e16852 + c594a86 commit 01a6a75

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)