diff --git a/docs/testing/jest.md b/docs/testing/jest.md index 0a910bdd6..3c94ba498 100644 --- a/docs/testing/jest.md +++ b/docs/testing/jest.md @@ -30,8 +30,12 @@ module.exports = { "roots": [ "/src" ], + testMatch: [ + "**/__tests__/**/*.+(ts|tsx|js)", + "**/?(*.)+(spec|test).+(ts|tsx|js)" + ], "transform": { - "^.+\\.tsx?$": "ts-jest" + "^.+\\.(ts|tsx)?$": "ts-jest" }, } ```