Test the Default Cloud Function Locally
Let's test the default cloud function locally.
We'll cover the following...
We'll cover the following...
Testing the default cloud function locally
Let’s first integrate a simple Cloud Function with the Firebase Local Emulator Suite to make sure everything works as expected.
Click Run and open services/web/firebase/functions/src/index.ts and comment out the three last lines. This is a very basic HTTPS function that returns a string when it’s called.
We also have to make a small configuration change to services/web/firebase/functions/tsconfig.json. In particular, add the following to the ...