* POST /api/cli/v1/tests/batch/run * Trigger a fresh wave-ordered batch run across all (or a subset of) BE tests * in a project. FE tests in the set are skipped server-side (advisory). * `testIds` absent / empty → run ALL BE tests in the project. * * `retryOnConflict: false` — 409 on
(
body: BatchRunFreshRequest,
options: { idempotencyKey: string; signal?: AbortSignal },
)
| 324 | * `retryOnConflict: false` — 409 on batch run means a run is already in flight. |
| 325 | */ |
| 326 | async triggerBatchRunFresh( |
| 327 | body: BatchRunFreshRequest, |
| 328 | options: { idempotencyKey: string; signal?: AbortSignal }, |
| 329 | ): Promise<BatchRunFreshResponse> { |
| 330 | return this.postWithMeta<BatchRunFreshResponse>('/tests/batch/run', { |
| 331 | body, |
| 332 | headers: { 'idempotency-key': options.idempotencyKey }, |
| 333 | signal: options.signal, |
| 334 | retryOnConflict: false, |
| 335 | }).then(r => r.body); |
| 336 | } |
| 337 | |
| 338 | /** |
| 339 | * GET /api/cli/v1/tests/{testId}/runs |
no test coverage detected