Created
July 18, 2021 14:28
-
-
Save danahartweg/d2e9bbddf61993d26267c9a8860985cb to your computer and use it in GitHub Desktop.
Firestore teardown - Unit testing Cloud Firestore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export async function teardown() { | |
useRealProjectId = false; | |
const appsToClean = [...apps(), ...adminApps]; | |
return Promise.all(appsToClean.map((app) => app?.delete())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment