updated jest to sort of work with es6

This commit is contained in:
Aster Fialla
2026-02-17 17:38:06 -05:00
parent 35b454bc80
commit ba9552b4aa
5 changed files with 34 additions and 11 deletions

View File

@@ -22,15 +22,21 @@
"jest": "^30.2.0"
},
"scripts": {
"test": "jest"
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
},
"jest": {
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"moduleFileExtensions": ["js", "json"],
"testMatch": ["**/__tests__/**/*.js", "**/?(*.)+(spec|test).js"],
"moduleFileExtensions": [
"js",
"json"
],
"testMatch": [
"**/__tests__/**/*.js",
"**/?(*.)+(spec|test).js"
],
"verbose": true
}
}