mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-12 01:01:25 +09:00
21 lines
532 B
TypeScript
21 lines
532 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
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),
|
|
sendEnvResetRequest(),
|
|
]);
|
|
});
|