From b4cba7f74f3cc51b00093b5576e2b1562a3f489c Mon Sep 17 00:00:00 2001 From: Clara Ribeiro Date: Fri, 6 Dec 2024 13:19:57 -0300 Subject: [PATCH] fix: arquivo de cobertura --- jest.config.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/jest.config.js b/jest.config.js index 5a29243..57b6b47 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,6 +7,8 @@ const reporter = process.env.JEST_SONAR; const config = { + testTimeout: 30000, + // All imported modules in your tests should be mocked automatically // automock: false, @@ -86,16 +88,16 @@ const config = { // ], // An array of file extensions your modules use - // moduleFileExtensions: [ - // "js", - // "mjs", - // "cjs", - // "jsx", - // "ts", - // "tsx", - // "json", - // "node", - // ], + moduleFileExtensions: [ + "js", + "mjs", + "cjs", + "jsx", + "ts", + "tsx", + "json", + "node", + ], // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module // moduleNameMapper: {},