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

attempt to fix test

This commit is contained in:
kakkokari-gtyih
2025-06-13 21:44:53 +09:00
parent 0770ee82eb
commit c306cdbdd9
6 changed files with 22 additions and 10 deletions

View File

@@ -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: [],
setupFiles: ["<rootDir>/test/jest.setup.ts"],
// A list of paths to modules that run some code to configure or set up the testing framework before each test
// setupFilesAfterEnv: [],
@@ -151,9 +151,7 @@ module.exports = {
testEnvironment: "node",
// Options that will be passed to the testEnvironment
testEnvironmentOptions: {
globalsCleanup: 'soft', // Soft cleanup mode to avoid issues with global variables in tests
},
// testEnvironmentOptions: {},
// Adds a location field to test results
// testLocationInResults: false,