create default jest config
This commit is contained in:
parent
41b219a853
commit
dcba1c00ea
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"moduleFileExtensions": ["js", "jsx"],
|
||||
"testPathIgnorePatterns": ["<rootDir>/common/config"],
|
||||
"setupFiles": ["<rootDir>/jest_config/setupJest.js"],
|
||||
"automock": false,
|
||||
"moduleNameMapper": {
|
||||
"^actions$": "<rootDir>/common/actions",
|
||||
"^api": "<rootDir>/common/api",
|
||||
"^reducers$": "<rootDir>/common/reducers",
|
||||
"^routing": "<rootDir>/common/routing",
|
||||
"^components$": "<rootDir>/common/components",
|
||||
"^containers$": "<rootDir>/common/containers",
|
||||
"^config$": "<rootDir>/common/config/test.js"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
global.fetch = require('node-fetch')
|
||||
window.BASE_API = 'http://localhost:4000/api/v1'
|
Loading…
Reference in New Issue