Use jest config file.
This commit is contained in:
parent
01d52e4363
commit
0ad0669488
|
@ -0,0 +1,4 @@
|
|||
module.exports = {
|
||||
preset: 'react-native',
|
||||
modulePathIgnorePatterns: ['react-native-fast-image-example*'],
|
||||
}
|
|
@ -41,11 +41,5 @@
|
|||
"prop-types": "*",
|
||||
"react": "*",
|
||||
"react-native": "*"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "react-native",
|
||||
"modulePathIgnorePatterns": [
|
||||
"react-native-fast-image-example*"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue