diff --git a/core/base/__tests__/finality.ts b/core/base/__tests__/finality.ts index a607dc733..710dfd3c0 100644 --- a/core/base/__tests__/finality.ts +++ b/core/base/__tests__/finality.ts @@ -3,7 +3,7 @@ import { ConsistencyLevels, finalityThreshold, consistencyLevelToBlock, -} from '../src/constants/finality.js'; +} from "../src/constants/finality.js"; describe("Finality tests", function () { test("Receive expected number of rounds", () => { diff --git a/jest.config.ts b/jest.config.ts index 1a3fa4445..c20e46e15 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -10,6 +10,10 @@ const jestConfig: JestConfigWithTsJest = { transform: { "^.+\\.tsx?$": ["ts-jest", { tsconfig: "tsconfig.esm.json" }], }, + // TODO: Remove this when Jest 30 is released + // https://github.com/jestjs/jest/issues/11617#issuecomment-2027387160 + maxWorkers: "50%", + workerThreads: true, }; export default jestConfig;