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