|
|
@@ -13,7 +13,7 @@ export async function awaitRunningJobs(adminClient: SimpleGraphQLClient, timeout
|
|
|
let timedOut = false;
|
|
|
// Allow a brief period for the jobs to start in the case that
|
|
|
// e.g. event debouncing is used before triggering the job.
|
|
|
- await new Promise((resolve) => setTimeout(resolve, 100));
|
|
|
+ await new Promise(resolve => setTimeout(resolve, 100));
|
|
|
do {
|
|
|
const { jobs } = await adminClient.query<GetRunningJobs.Query, GetRunningJobs.Variables>(
|
|
|
GET_RUNNING_JOBS,
|