GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — quickstart-testing/unit-test-cloud-functions at master · mohdiqbal-dev/quickstart-testing

Expand file tree

/

unit-test-cloud-functions

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

unit-test-cloud-functions

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
functions
functions
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
firebase.json
firebase.json
 
 

README.md

Outline

Unit Test Cloud Functions

This sample demonstrates how to write unit tests for Cloud Functions using the firebase-functions-test SDK and the Emulator Suite.

Setup

To install the dependencies for this sample run npm install inside the functions directory. You will also need the Firebase CLI.

Run

To run the tests:

firebase emulators:exec --project=fakeproject 'npm run test'
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.