mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-17 01:55:27 +10:00
updated jest to sort of work with es6
This commit is contained in:
12
package.json
12
package.json
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user