Fix to tests
parent
ce56d4e34e
commit
1df48d4dad
|
@ -0,0 +1 @@
|
||||||
|
export default from '@react-native-async-storage/async-storage/jest/async-storage-mock'
|
|
@ -0,0 +1,3 @@
|
||||||
|
jest.mock('@react-native-async-storage/async-storage', () =>
|
||||||
|
require('@react-native-async-storage/async-storage/jest/async-storage-mock'),
|
||||||
|
)
|
|
@ -74,6 +74,7 @@
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"preset": "react-native",
|
"preset": "react-native",
|
||||||
|
"setupFiles": ["./jest.js"],
|
||||||
"moduleFileExtensions": [
|
"moduleFileExtensions": [
|
||||||
"ts",
|
"ts",
|
||||||
"tsx",
|
"tsx",
|
||||||
|
|
Loading…
Reference in New Issue