Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNSecureKeyStoreMock #56

Open
marcosrdz opened this issue Aug 20, 2019 · 1 comment
Open

RNSecureKeyStoreMock #56

marcosrdz opened this issue Aug 20, 2019 · 1 comment

Comments

@marcosrdz
Copy link

I've been unsuccessful at attempting to use RNSecureKeyStoreMock for Jest. Are there any recommended steps?

@tombailey
Copy link
Contributor

Have you tried following this tutorial from the Jest docs? https://jestjs.io/docs/en/es6-class-mocks

I think mocking the "RNSecureKeyStore" part of "react-native-secure-key-store" import should work for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants