1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-21 23:55:34 +02:00

revert jest 30 related changes

This commit is contained in:
kakkokari-gtyih
2025-10-08 10:23:21 +09:00
parent 37207f6e1d
commit 789bdd255f
5 changed files with 466 additions and 837 deletions

View File

@@ -1,11 +0,0 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { initTestDb, sendEnvResetRequest } from './utils.js';
beforeAll(async () => {
await initTestDb(false);
await sendEnvResetRequest();
});

View File

@@ -3,8 +3,10 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { protectProperties } from 'jest-util';
import { initTestDb, sendEnvResetRequest } from './utils.js';
beforeAll(async () => {
await initTestDb(false);
await sendEnvResetRequest();
});
protectProperties(ReadableStreamDefaultReader);
protectProperties(ReadableStreamBYOBReader);
protectProperties(WritableStreamDefaultWriter);