mirror of
https://github.com/immich-app/immich.git
synced 2025-07-07 09:12:56 +02:00
chore: finish migrating eslint config files; bump unicorn (#17200)
This commit is contained in:
parent
e4f83680d9
commit
238c151ac3
23 changed files with 883 additions and 1286 deletions
e2e/src
|
@ -537,6 +537,7 @@ export const utils = {
|
|||
},
|
||||
|
||||
waitForQueueFinish: (accessToken: string, queue: keyof AllJobStatusResponseDto, ms?: number) => {
|
||||
// eslint-disable-next-line no-async-promise-executor
|
||||
return new Promise<void>(async (resolve, reject) => {
|
||||
const timeout = setTimeout(() => reject(new Error('Timed out waiting for queue to empty')), ms || 10_000);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue