【发布时间】:2018-02-22 18:59:54
【问题描述】:
在nodejs中使用initializeApp()方法时是否可以使用“databaseAuthVariableOverride”来测试firestore中的安全规则?
或者还有其他推荐的测试安全规则的方法吗?
【问题讨论】:
-
我编写了一个 TS 包来使用存储库模式包装 Firestore。还有一些代码可以在您的机器或 CI github.com/freshfox/firestore-storage#tests 上测试您的规则
标签: node.js firebase google-cloud-firestore firebase-admin