diff --git a/jest.config.js b/jest.config.js index c98e63d..cd7f329 100644 --- a/jest.config.js +++ b/jest.config.js @@ -175,7 +175,11 @@ module.exports = { // A map from regular expressions to paths to transformers transform: { - '\\.[jt]sx?$': 'ts-jest', + '\\.[jt]sx?$': ['ts-jest', { + tsconfig: { + noUnusedLocals: false, + } + }] }, // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation