diff --git a/packages/backend/test/jest.setup.ts b/packages/backend/test/jest.setup.ts index 29a67da711..fdb2f685c9 100644 --- a/packages/backend/test/jest.setup.ts +++ b/packages/backend/test/jest.setup.ts @@ -5,14 +5,14 @@ import { initTestDb, sendEnvResetRequest } from './utils.js'; -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-expect-error -Symbol.dispose ??= Symbol('Symbol.dispose'); -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-expect-error -Symbol.asyncDispose ??= Symbol('Symbol.asyncDispose'); - beforeAll(async () => { + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-expect-error + Symbol.dispose ??= Symbol('Symbol.dispose'); + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-expect-error + Symbol.asyncDispose ??= Symbol('Symbol.asyncDispose'); + await Promise.all([ initTestDb(false), sendEnvResetRequest(),