mock mp4 files
Reviewed By: frantic Differential Revision: D6105671 fbshipit-source-id: d05336a46bb2c1e2d0530188dc85cc2b4f7f4537
This commit is contained in:
parent
bba46bcb37
commit
b4fb68c701
|
@ -14,7 +14,7 @@
|
|||
],
|
||||
"transform": {
|
||||
"^.+\\.js$": "babel-jest",
|
||||
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|png|psd|svg|webp)$": "<rootDir>/node_modules/react-native/jest/assetFileTransformer.js"
|
||||
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$": "<rootDir>/node_modules/react-native/jest/assetFileTransformer.js"
|
||||
},
|
||||
"transformIgnorePatterns": [
|
||||
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element)"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"jest": {
|
||||
"transform": {
|
||||
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|png|psd|svg|webp)$": "<rootDir>/jest/assetFileTransformer.js",
|
||||
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$": "<rootDir>/jest/assetFileTransformer.js",
|
||||
".*": "./jest/preprocessor.js"
|
||||
},
|
||||
"setupFiles": [
|
||||
|
|
Loading…
Reference in New Issue