Skip to content

Commit

Permalink
support formatOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Nov 23, 2024
1 parent ffb8742 commit 9485fd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cucumber-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,5 +204,6 @@ function buildFormatOption(cfg: CucumberRunnerConfig) {
build: cfg.sauce.metadata?.build,
tags: cfg.sauce.metadata?.tags,
outputFile: path.join(cfg.assetsDir, 'sauce-test-report.json'),
...cfg.suite.options.formatOptions,
};
}
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export interface CucumberSuite {
import?: string[];
tags?: string[];
format?: string[];
formatOptions?: object;
parallel?: number;
paths: string[];
};
Expand Down

0 comments on commit 9485fd8

Please sign in to comment.