This sample demonstrates how to write unit tests for Cloud Functions using
the firebase-functions-test
SDK and the Emulator Suite.
To install the dependencies for this sample run npm install
inside the functions
directory.
You will also need the Firebase CLI.
To run the tests:
firebase emulators:exec --project=fakeproject 'npm run test'