revert jest 30 related changes
This commit is contained in:
parent
37207f6e1d
commit
789bdd255f
|
|
@ -136,7 +136,7 @@ module.exports = {
|
|||
// runner: "jest-runner",
|
||||
|
||||
// The paths to modules that run some code to configure or set up the testing environment before each test
|
||||
setupFiles: ["<rootDir>/test/jest.setup.ts"],
|
||||
// setupFiles: [],
|
||||
|
||||
// A list of paths to modules that run some code to configure or set up the testing framework before each test
|
||||
// setupFilesAfterEnv: [],
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@
|
|||
"xev": "3.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "30.0.0",
|
||||
"@jest/globals": "29.7.0",
|
||||
"@nestjs/platform-express": "11.1.3",
|
||||
"@sentry/vue": "9.46.0",
|
||||
"@simplewebauthn/types": "12.0.0",
|
||||
|
|
@ -236,9 +236,9 @@
|
|||
"eslint-plugin-import": "2.32.0",
|
||||
"execa": "9.6.0",
|
||||
"fkill": "9.0.0",
|
||||
"jest": "30.0.0",
|
||||
"jest-mock": "30.0.0",
|
||||
"jest-util": "30.0.0",
|
||||
"jest": "29.7.0",
|
||||
"jest-mock": "29.7.0",
|
||||
"jest-util": "29.7.0",
|
||||
"nodemon": "3.1.10",
|
||||
"pid-port": "1.0.2",
|
||||
"simple-oauth2": "5.1.0",
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
});
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
1272
pnpm-lock.yaml
1272
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue