Is there a way I can test all the security rules for firestore with v10 SDK?
53 views
Skip to first unread message
Joseph
unread,
Jun 22, 2024, 8:37:55 PMJun 22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebase Google Group
I discovered that the v10 SDK has deprecated firebase/compat and that the @firebase/rules-unit-testing package now requires Firebase v10.0.0 or higher as a peer dependency. However, it seems like @firebase/rules-unit-testing does not fully support the v10 SDK. I am having trouble setting up the testing environment. Is there a way to test Firestore security rules in both authenticated and unauthenticated contexts?