Full path of the reference (e.g. 'users/alovelace').
app
firebase.app.App
The Firebase app that the database belongs to. The databaseURL supplied when initializing the app is used for creating this snapshot. You do not need to supply this parameter if you supplied config values when initializing
firebase-functions-test.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-12-03 UTC."],[],[],null,["[test](/docs/reference/functions/test/test).database \nnamespace static\n\nNamespace for testing Realtime Database functions using the Cloud Functions for Firebase Test SDK.\n\nMethods\n\nexampleDataSnapshot \nstatic\n\nexampleDataSnapshot() returns test.database.DataSnapshot\n\nFetch an example data snapshot already populated with data. Can be passed into a wrapped database `onCreate` or `onDelete` function.\n\nReturns\n\n: `non-null test.database.DataSnapshot`\n\nexampleDataSnapshotChange \nstatic\n\nexampleDataSnapshotChange() returns test.database.DataSnapshot\n\nFetch an example `Change` object of data snapshots already populated with data. Can be passed into a wrapped database `onUpdate` or `onWrite` function.\n\nReturns\n\n: `non-null test.database.DataSnapshot`\n\nmakeDataSnapshot \nstatic\n\nmakeDataSnapshot(val, refPath, app) returns test.database.DataSnapshot\n\nCreate a data snapshot for testing.\n\nReturns\n\n: `non-null test.database.DataSnapshot`"]]