Skip to content

Commit 86bdc12

Browse files
CopilotSkn0tt
andcommitted
Simplify GHAMarkdownReporter constructor to take no arguments
Co-authored-by: Skn0tt <14912729+Skn0tt@users.noreply.github.com>
1 parent de1e9c9 commit 86bdc12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/config/ghaMarkdownReporter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ function getGithubToken() {
3434
const octokit = getOctokit(getGithubToken());
3535

3636
class GHAMarkdownReporter extends MarkdownReporter {
37-
constructor(options: { configDir: string, outputFile?: string }) {
38-
super({ ...options, shardDurationThreshold: 25 * 60 * 1000 });
37+
constructor() {
38+
super({ shardDurationThreshold: 25 * 60 * 1000 });
3939
}
4040

4141
override async publishReport(report: string) {

0 commit comments

Comments
 (0)