我正在测试Firestore安全规则,并进行了以下设置: // firestore.spec.js * Creates a new client FirebaseApp with authenticationand returns the Firestore instance: // firestore.rules
service cloud.firestore {
使用react with 作为我作为本地运行的数据库,使用的是用jest.进行的脚本测试
现在,当在浏览器中从我的react应用程序调用firestore、set()和get()函数时,一切都正常。但是,当单元测试相同的调用时,只有set()允诺才能解决。get()承诺永远不会解决问题(“测试超过了5000 ms的超时时间,经过超时>100000000<em