How to test `functions.https.onCall` firebase cloud functions locally?

后端 未结 6 724
悲哀的现实
悲哀的现实 2020-12-01 07:42

I can\'t seem to find the solution for this in the Firebase Documentation.

I want to test my functions.https.onCall functions locally. Is it possible usi

6条回答
  •  甜味超标
    2020-12-01 08:13

    For locally you must call (after firebase.initializeApp)

    firebase.functions().useFunctionsEmulator('http://localhost:5000') 
    

提交回复
热议问题