test(backend): polyfill erm

This commit is contained in:
Acid Chicken (硫酸鶏) 2024-06-01 16:28:07 +09:00
parent b233444ed6
commit 623eb410bb
No known key found for this signature in database
GPG key ID: 3E87B98A3F6BAB99

View file

@ -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),