test(backend): polyfill erm
This commit is contained in:
parent
b233444ed6
commit
623eb410bb
1 changed files with 7 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue