got test sort of working (jest set up is not crashing but also not mocking correctly)

This commit is contained in:
Aster Fialla
2026-02-16 15:10:00 -05:00
parent a3caa2dc42
commit 5a39610547
2 changed files with 68 additions and 0 deletions

View File

@@ -23,5 +23,14 @@
},
"scripts": {
"test": "jest"
},
"jest": {
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"moduleFileExtensions": ["js", "json"],
"testMatch": ["**/__tests__/**/*.js", "**/?(*.)+(spec|test).js"],
"verbose": true
}
}