Unit Testing - Why? Unit testing strategy for Firebase Cloud Functions + Stripe

Git Branch 2

Now it’s time to put some unit tests in place. While this step is optional I highly recommend testing your payment integration because (1) one failed commit could cause you lose out on potential payments, (2) it provides a great playground for rapid development, (3) it will help you better understand your code.

Install Jest and the Firebase Functions Test package.

Q&A Chat