test(backend): polyfill erm
This commit is contained in:
parent
b233444ed6
commit
623eb410bb
|
@ -5,6 +5,13 @@
|
||||||
|
|
||||||
import { initTestDb, sendEnvResetRequest } from './utils.js';
|
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 () => {
|
beforeAll(async () => {
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
initTestDb(false),
|
initTestDb(false),
|
||||||
|
|
Loading…
Reference in a new issue