We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce6bea6 commit 5575d8dCopy full SHA for 5575d8d
database.rules.json
@@ -4,6 +4,10 @@
4
".read": false,
5
".write": false
6
},
7
+ "__test": {
8
+ ".read": true,
9
+ ".write": true
10
+ },
11
".read": true,
12
13
}
tests/utils.ts
@@ -180,7 +180,7 @@ async function recursiveDeleteDoc(doc: QueryDocumentSnapshot<any>) {
180
// Database
181
export function setupDatabaseRefs() {
182
const testId = _id++
183
- const testsCollection = _databaseRef(database, `__tests_${testId}`)
+ const testsCollection = _databaseRef(database, `__tests/${testId}`)
184
185
const itemRef = _databaseRef(database, testsCollection.key + `/item`)
186
const listRef = _databaseRef(database, testsCollection.key + `/items`)
0 commit comments