2024-03-13 22:37:18 +09:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2024-01-08 17:43:52 +09:00
|
|
|
import { initTestDb, sendEnvResetRequest } from './utils.js';
|
|
|
|
|
2024-06-01 16:28:07 +09:00
|
|
|
// 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');
|
|
|
|
|
2024-01-08 17:43:52 +09:00
|
|
|
beforeAll(async () => {
|
|
|
|
await Promise.all([
|
|
|
|
initTestDb(false),
|
|
|
|
sendEnvResetRequest(),
|
|
|
|
]);
|
|
|
|
});
|