We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca25b1e commit fba17beCopy full SHA for fba17be
src/commands/apex/run/test.ts
@@ -239,7 +239,7 @@ export default class Test extends SfCommand<RunCommandResult> {
239
return testService.runTestAsynchronous(
240
payload,
241
flags['code-coverage'],
242
- flags.wait ? false : !(flags.synchronous && !this.jsonEnabled()),
+ flags.wait && flags.wait.minutes > 0 ? false : !(flags.synchronous && !this.jsonEnabled()),
243
undefined,
244
this.cancellationTokenSource.token
245
) as Promise<TestRunIdResult>;
0 commit comments