1 | initial version |
The steps to reset the Firestore emulator in an integration test are:
To delete the emulator data directory, you can run the following commands:
gcloud beta emulators firestore stop
rm -rf ~/.config/gcloud/emulators/firestore
gcloud beta emulators firestore start
Then, you can initialize the Firestore instance and load test data as needed in your integration test code.