First Unit Test Write a basic unit test to validate that Stripe & Firebase are initialized properly.

This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.

*Enrollment provides full access to this course (and updates) for life.

Or Signup for Unlimited PRO Access

file_type_typescript main.test.ts
import { fun } from './test-config';

import { db, stripe } from '../src/config';

test('Firestore is initialized', () => {

test('Stripe is initialized', () => {


Q&A Chat