We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ead1b5 commit 6a45450Copy full SHA for 6a45450
2 files changed
email-api/jest.config.js
@@ -2,13 +2,11 @@ import 'dotenv/config';
2
3
export default {
4
testEnvironment: 'node',
5
- // ESTA LÍNEA ES LA CLAVE:
6
- extensionsToTreatAsEsm: ['.js'],
7
transform: {
8
"^.+\\.(t|j)sx?$": "@swc/jest",
9
},
10
transformIgnorePatterns: [
11
- "/node_modules/(?!(dompurify|jsdom|@exodus/bytes|html-encoding-sniffer|encoding-lite)/)"
+ "/node_modules/(?!(dompurify|jsdom|@exodus/bytes|html-encoding-sniffer|encoding-lite|abab|tr46|whatwg-url|data-urls|decimal.js)/)"
12
],
13
moduleNameMapper: {
14
'^(\\.{1,2}/.*)\\.js$': '$1',
email-api/package.json
@@ -8,7 +8,6 @@
"type": "module",
"dependencies": {
- "@sendgrid/mail": "^8.1.6",
"bcrypt": "^6.0.0",
"cors": "^2.8.5",
"dompurify": "^3.3.3",
0 commit comments