(command: string)
| 268 | async testTargets(targets: string[], extraArgs: string = ''): Promise<CommandResult> { |
| 269 | const targetsString = targets.join(' '); |
| 270 | const commandTestTarget = `test ${targetsString} ${this.stableExecArgs()} ${extraArgs}`; |
| 271 | |
| 272 | return await this.spawnCommand(commandTestTarget, 'inherit', extraArgs).catch(() => { |
| 273 | throw new CliError(`Failed to test targets: ${targetsString}`); |
| 274 | }); |
| 275 | } |
| 276 | |
| 277 | async getVersion(): Promise<[number, string, string]> { |
| 278 | const commandBazelInfoVersion = `version --gnu_format`; |
no test coverage detected