diff --git a/packages/backend/test/jest.setup.ts b/packages/backend/test/jest.setup.ts index 861bc6db66..29a67da711 100644 --- a/packages/backend/test/jest.setup.ts +++ b/packages/backend/test/jest.setup.ts @@ -5,6 +5,13 @@ 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 () => { await Promise.all([ initTestDb(false),