From f721e88a5c2301df17b6de1686d1093a86c393d9 Mon Sep 17 00:00:00 2001 From: dhruva Date: Fri, 23 Oct 2026 00:14:37 +0000 Subject: [PATCH] fix: include jest types explicitly for TypeScript 6 Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- jest.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jest.config.ts b/jest.config.ts index 28a6388f6..1fd76d33b 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -2,6 +2,9 @@ import type { Config } from '@jest/types'; const config: Config.InitialOptions = { preset: 'ts-jest', + transform: { + '^.+\\.tsx?$': ['ts-jest', { tsconfig: { types: ['jest', 'node'] } }], + }, testEnvironment: 'node', // Your Jest configuration options here // For example, to match test files: