Skip to content

Commit cb6486e

Browse files
authored
Security Audit & Remediation: manual-emulator-testing (#467)
* Update dependencies, engine requirements, fix index.html syntax, and add local package-lock.json for manual-emulator-testing * Fix user object handling, remove redundant setUser calls, and prevent duplicate snapshot listeners
1 parent a4e84af commit cb6486e

6 files changed

Lines changed: 6526 additions & 3870 deletions

File tree

manual-emulator-testing/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Manual testing using the Emulator Suite
22

33
This directory contains a very basic web app that connects to the
4-
Cloud Firestore and Firebase Authentication emulators.
4+
Cloud Firestore and Firebase Authentication emulators.
55

66
You sign in and read and write data in a completely local environment.
77

@@ -15,10 +15,10 @@ You will also need the [Firebase CLI](https://firebase.google.com/docs/cli).
1515
First start the emulators:
1616

1717
```
18-
firebase --project=fakeproject emulators:start
18+
firebase --project=fakeproject emulators:start
1919
```
2020

21-
Next visit `http://localhost:5000` in your browser and you should see a
22-
_very_ barebones chat app powered by the Cloud Firestore and Firebase
21+
Next visit `http://localhost:5000` in your browser and you should see a
22+
_very_ barebones chat app powered by the Cloud Firestore and Firebase
2323
Authentication emulators. Try adding some messages and then click the link
2424
at the bottom of the UI to view the messages in the Emulator UI.

manual-emulator-testing/firebase.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
},
66
"hosting": {
77
"public": "public",
8-
"ignore": [
9-
"firebase.json",
10-
"**/.*",
11-
"**/node_modules/**"
12-
],
8+
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
139
"rewrites": [
1410
{
1511
"source": "**",

0 commit comments

Comments
 (0)