Firebase 使用emulator获取单元测试的云函数url

Firebase 使用emulator获取单元测试的云函数url,firebase,unit-testing,google-cloud-firestore,google-cloud-functions,firebase-cli,Firebase,Unit Testing,Google Cloud Firestore,Google Cloud Functions,Firebase Cli,我有两个与CloudFireStore交互的云函数。我已经成功地启动了这两个模拟器(firebase模拟器:start--only函数,firestore),然后运行请求,它就可以工作了。但是,模拟函数的URL相当长 http://localhost:5001/my-app/us-central1/myFunc 我想要么得到一个完整的url,要么以某种方式组装它。理论上可以从指定默认值的.firebaserc读取my app。然而,我不确定港口或地区

我有两个与CloudFireStore交互的云函数。我已经成功地启动了这两个模拟器(
firebase模拟器:start--only函数,firestore
),然后运行请求,它就可以工作了。但是,模拟函数的URL相当长

http://localhost:5001/my-app/us-central1/myFunc

我想要么得到一个完整的url,要么以某种方式组装它。理论上可以从指定默认值的
.firebaserc
读取
my app
。然而,我不确定港口或地区