summaryrefslogtreecommitdiff
path: root/test/mock-async-storage.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/mock-async-storage.ts')
-rw-r--r--test/mock-async-storage.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/mock-async-storage.ts b/test/mock-async-storage.ts
new file mode 100644
index 0000000..a4da056
--- /dev/null
+++ b/test/mock-async-storage.ts
@@ -0,0 +1,3 @@
+import mockAsyncStorage from "@react-native-async-storage/async-storage/jest/async-storage-mock"
+
+jest.mock("@react-native-async-storage/async-storage", () => mockAsyncStorage)