forked from mirror/misskey
test(backend): polyfill position
This commit is contained in:
parent
623eb410bb
commit
9366515565
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
import { initTestDb, sendEnvResetRequest } from './utils.js';
|
import { initTestDb, sendEnvResetRequest } from './utils.js';
|
||||||
|
|
||||||
|
beforeAll(async () => {
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
Symbol.dispose ??= Symbol('Symbol.dispose');
|
Symbol.dispose ??= Symbol('Symbol.dispose');
|
||||||
@ -12,7 +13,6 @@ Symbol.dispose ??= Symbol('Symbol.dispose');
|
|||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
Symbol.asyncDispose ??= Symbol('Symbol.asyncDispose');
|
Symbol.asyncDispose ??= Symbol('Symbol.asyncDispose');
|
||||||
|
|
||||||
beforeAll(async () => {
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
initTestDb(false),
|
initTestDb(false),
|
||||||
sendEnvResetRequest(),
|
sendEnvResetRequest(),
|
||||||
|
Loading…
Reference in New Issue
Block a user