From e4fd44694dff2a8edf68965efc276f63bede1d35 Mon Sep 17 00:00:00 2001 From: Welliton Gervickas Date: Tue, 31 Oct 2023 22:31:04 -0300 Subject: [PATCH] chore: update js test --- jest.config.js | 3 ++- package.json | 1 + pnpm-lock.yaml | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index aea525a..d610ea0 100644 --- a/jest.config.js +++ b/jest.config.js @@ -11,7 +11,8 @@ const customJestConfig = { '^@/app/utils/(.*)$': '/app/utils/$1' }, modulePathIgnorePatterns: ['mocks'], - testEnvironment: 'jest-environment-jsdom' + testEnvironment: 'jest-environment-jsdom', + verbose: true } module.exports = createJestConfig(customJestConfig) diff --git a/package.json b/package.json index 461da07..4cd2199 100755 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ }, "dependencies": { "@heroicons/react": "latest", + "@types/jest": "^29.5.7", "classnames": "latest", "cssnano": "latest", "ethers": "latest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1a602cb..ecaee7e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ dependencies: '@heroicons/react': specifier: latest version: 2.0.18(react@18.2.0) + '@types/jest': + specifier: ^29.5.7 + version: 29.5.7 classnames: specifier: latest version: 2.3.2 @@ -1387,6 +1390,13 @@ packages: '@types/istanbul-lib-report': 3.0.2 dev: false + /@types/jest@29.5.7: + resolution: {integrity: sha512-HLyetab6KVPSiF+7pFcUyMeLsx25LDNDemw9mGsJBkai/oouwrjTycocSDYopMEwFhN2Y4s9oPyOCZNofgSt2g==} + dependencies: + expect: 29.7.0 + pretty-format: 29.7.0 + dev: false + /@types/jsdom@20.0.1: resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} dependencies: