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

Testing with AppCheck #236

Open
kalmicka opened this issue Mar 7, 2022 · 2 comments
Open

Testing with AppCheck #236

kalmicka opened this issue Mar 7, 2022 · 2 comments

Comments

@kalmicka
Copy link

kalmicka commented Mar 7, 2022

I am trying to unit test my callable cloud functions but I ran into the problem that due to AppCheck the test will always fail. Is there an example on how to integrate AppCheck into unit testing? Could you update your examples to reflect the integration of AppCheck? Guess this should be relevant for a lot of people since AppCheck is now being used more often.

@kalmicka
Copy link
Author

Can anyone provide an example? This would be really helpful.

@adhiamboperes
Copy link

@kalmicka, you probably can use fakes or mocks depending on your test setup

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