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/package.json b/package.json index c33a191..5eb37b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jest-html-reporter", - "version": "3.7.0", + "version": "3.7.1", "description": "Jest test results processor for generating a summary in HTML", "main": "dist/index.js", "unpkg": "dist/index.js", @@ -51,7 +51,7 @@ }, "peerDependencies": { "jest": "19.x - 29.x", - "typescript": "^3.7.x || ^4.3.x" + "typescript": "^3.7.x || ^4.3.x || ^5.x" }, "devDependencies": { "@rollup/plugin-babel": "^5.3.0", diff --git a/yarn.lock b/yarn.lock index cadd5c6..e597b74 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"