Skip to content

Commit 419689d

Browse files
authored
Mock implementation for making jest testing easy
1 parent 1e3d3c4 commit 419689d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ RNSecureKeyStore.remove("key1")
7676
```
7777
- For demo app, checkout example directory.
7878

79+
## Testing
80+
81+
For Testing using Jest, add RNSecureKeyStoreMock implementation under your __test__/__mocks__ folder.
82+
This mock implementation makes easy for you to make testing that dependes on react-native-secure-key-store
83+
7984
## License
8085

8186
ISC License (ISC)

0 commit comments

Comments
 (0)