From 4820f6a1df4c116706d2dbd2158335f102880d83 Mon Sep 17 00:00:00 2001 From: JeelRajodiya Date: Thu, 26 Dec 2024 19:45:30 +0530 Subject: [PATCH] chore: update Jest configuration to set test environment to Node --- jest.config.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.cjs b/jest.config.cjs index 92836f6f34c7..26c854b57cff 100644 --- a/jest.config.cjs +++ b/jest.config.cjs @@ -1,6 +1,7 @@ module.exports = { + testEnvironment: 'node', transform: { - '^.+\\.tsx?$': 'ts-jest' + "^.+.tsx?$": ["ts-jest",{}], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], verbose: true,