Skip to main content

Function: listSauceJobs()

function listSauceJobs(opts): Promise<
| SauceRealDeviceListResponse
| SauceJobSummary[]>;

Defined in: packages/core/src/sauce/jobs.ts:195

List recent jobs for the authenticated user.

The two endpoints disagree on both their query parameters (from/to are VM-only) and their response shape, so the return type is a union the caller narrows on the isRealDevice it passed in.

Parameters​

opts​

ListSauceJobsOptions

Returns​

Promise< | SauceRealDeviceListResponse | SauceJobSummary[]>