From 040193a3edfe254e40c5dc4d792c50d9b542a81f Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Sat, 24 Aug 2024 15:49:09 +0200 Subject: [PATCH] Update jest configuration --- jest.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 01afeb8..d8ae6c0 100644 --- a/jest.config.js +++ b/jest.config.js @@ -167,7 +167,9 @@ module.exports = { // timers: "real", // A map from regular expressions to paths to transformers - // transform: null, + transform: { + "^.+\\.[t|j]sx?$": "babel-jest" + } // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation // transformIgnorePatterns: [