From 6578b32c5b1089d5942ff696e35904418a9eaa9f Mon Sep 17 00:00:00 2001 From: Johan Hargne Date: Sat, 18 Mar 2023 10:46:31 +0100 Subject: [PATCH] Updated deprecated jest config --- jest.config.json | 11 +++++++---- yarn.lock | 6 +++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/jest.config.json b/jest.config.json index 17e8f49..72da33b 100644 --- a/jest.config.json +++ b/jest.config.json @@ -1,10 +1,13 @@ { "roots": [""], "preset": "ts-jest", - "globals": { - "ts-jest": { - "babelConfig": true - } + "transform": { + "^.+\\.tsx?$": [ + "ts-jest", + { + "babelConfig": true + } + ] }, "collectCoverage": true, "collectCoverageFrom": [ diff --git a/yarn.lock b/yarn.lock index ae41778..daa1e04 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1639,9 +1639,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001370: - version "1.0.30001393" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001393.tgz#1aa161e24fe6af2e2ccda000fc2b94be0b0db356" - integrity sha512-N/od11RX+Gsk+1qY/jbPa0R6zJupEa0lxeBG598EbrtblxVCTJsQwbRBm6+V+rxpc5lHKdsXb9RY83cZIPLseA== + version "1.0.30001467" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001467.tgz" + integrity sha512-cEdN/5e+RPikvl9AHm4uuLXxeCNq8rFsQ+lPHTfe/OtypP3WwnVVbjn+6uBV7PaFL6xUFzTh+sSCOz1rKhcO+Q== chalk@^2.0.0, chalk@^2.3.0: version "2.4.2"