Use jest config file.

This commit is contained in:
Dylan Vann 2018-05-24 12:30:28 -04:00
parent 01d52e4363
commit 0ad0669488
2 changed files with 4 additions and 6 deletions

4
jest.config.js Normal file
View File

@ -0,0 +1,4 @@
module.exports = {
preset: 'react-native',
modulePathIgnorePatterns: ['react-native-fast-image-example*'],
}

View File

@ -41,11 +41,5 @@
"prop-types": "*",
"react": "*",
"react-native": "*"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"react-native-fast-image-example*"
]
}
}