From 7a5c744268ef046f7ecaf9be8272c8450ddece6d Mon Sep 17 00:00:00 2001 From: Tian Feng Date: Thu, 21 Nov 2024 22:01:17 -0800 Subject: [PATCH] redirect the output to sauce-test-report --- src/cucumber-runner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cucumber-runner.ts b/src/cucumber-runner.ts index fb1e7cd..5b3d7d7 100644 --- a/src/cucumber-runner.ts +++ b/src/cucumber-runner.ts @@ -19,7 +19,7 @@ export function buildArgs(runCfg: CucumberRunnerConfig, cucumberBin: string) { '--require-module', 'ts-node/register', '--format', - '@saucelabs/cucumber-reporter', + '"@saucelabs/cucumber-reporter":"sauce-test-report.json"', '--format-options', JSON.stringify(buildFormatOption(runCfg)), ];