forked from PluralFlux/PluralFlux
got test sort of working (jest set up is not crashing but also not mocking correctly)
This commit is contained in:
@@ -23,5 +23,14 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
},
|
||||
"jest": {
|
||||
"testEnvironment": "node",
|
||||
"coveragePathIgnorePatterns": [
|
||||
"/node_modules/"
|
||||
],
|
||||
"moduleFileExtensions": ["js", "json"],
|
||||
"testMatch": ["**/__tests__/**/*.js", "**/?(*.)+(spec|test).js"],
|
||||
"verbose": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user