feat(test-components): add asset resolver for jest
This commit is contained in:
parent
2d512c8b04
commit
685113ef2e
|
@ -175,7 +175,10 @@
|
|||
"setupTestFrameworkScriptFile": "<rootDir>/__tests__/setup/jest.js",
|
||||
"testPathIgnorePatterns": [
|
||||
"<rootDir>/__tests__/setup/"
|
||||
]
|
||||
],
|
||||
"moduleNameMapper": {
|
||||
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__tests__/setup/assetTransformer.js"
|
||||
}
|
||||
},
|
||||
"resolutions": {
|
||||
"babel-core": "7.0.0-bridge.0"
|
||||
|
|
Loading…
Reference in New Issue