# Overview

## test


[test](https://firebase.google.com/docs/reference/functions/test/test)


[test.cleanup()](https://firebase.google.com/docs/reference/functions/test/test#.cleanup)

[test.makeChange(before, after)](https://firebase.google.com/docs/reference/functions/test/test#.makeChange)


[test.mockConfig(config)](https://firebase.google.com/docs/reference/functions/test/test#.mockConfig)

[test.wrap(cloudFunction)](https://firebase.google.com/docs/reference/functions/test/test#.wrap)


[test.WrappedFunction(data, options)](https://firebase.google.com/docs/reference/functions/test/test#.WrappedFunction)

## test.EventContextOptions


[test.EventContextOptions](https://firebase.google.com/docs/reference/functions/test/test.EventContextOptions)


[test.EventContextOptions#auth](https://firebase.google.com/docs/reference/functions/test/test.EventContextOptions#auth)

[test.EventContextOptions#authType](https://firebase.google.com/docs/reference/functions/test/test.EventContextOptions#authType)


[test.EventContextOptions#eventId](https://firebase.google.com/docs/reference/functions/test/test.EventContextOptions#eventId)

[test.EventContextOptions#params](https://firebase.google.com/docs/reference/functions/test/test.EventContextOptions#params)


[test.EventContextOptions#timestamp](https://firebase.google.com/docs/reference/functions/test/test.EventContextOptions#timestamp)

## test.analytics


[test.analytics](https://firebase.google.com/docs/reference/functions/test/test.analytics)

[test.analytics.exampleAnalyticsEvent()](https://firebase.google.com/docs/reference/functions/test/test.analytics#.exampleAnalyticsEvent)

[test.analytics.makeAnalyticsEvent(fields)](https://firebase.google.com/docs/reference/functions/test/test.analytics#.makeAnalyticsEvent)

## test.auth


[test.auth](https://firebase.google.com/docs/reference/functions/test/test.auth)

[test.auth.exampleUserRecord()](https://firebase.google.com/docs/reference/functions/test/test.auth#.exampleUserRecord)

[test.auth.makeUserRecord(fields)](https://firebase.google.com/docs/reference/functions/test/test.auth#.makeUserRecord)

## test.crashlytics


[test.crashlytics](https://firebase.google.com/docs/reference/functions/test/test.crashlytics)

[test.crashlytics.exampleIssue()](https://firebase.google.com/docs/reference/functions/test/test.crashlytics#.exampleIssue)

[test.crashlytics.makeIssue(fields)](https://firebase.google.com/docs/reference/functions/test/test.crashlytics#.makeIssue)

## test.database


[test.database](https://firebase.google.com/docs/reference/functions/test/test.database)


[test.database.exampleDataSnapshot()](https://firebase.google.com/docs/reference/functions/test/test.database#.exampleDataSnapshot)

[test.database.exampleDataSnapshotChange()](https://firebase.google.com/docs/reference/functions/test/test.database#.exampleDataSnapshotChange)


[test.database.makeDataSnapshot(val, refPath, app)](https://firebase.google.com/docs/reference/functions/test/test.database#.makeDataSnapshot)

## test.firestore


[test.firestore](https://firebase.google.com/docs/reference/functions/test/test.firestore)


[test.firestore.exampleDocumentSnapshot()](https://firebase.google.com/docs/reference/functions/test/test.firestore#.exampleDocumentSnapshot)

[test.firestore.exampleDocumentSnapshotChange()](https://firebase.google.com/docs/reference/functions/test/test.firestore#.exampleDocumentSnapshotChange)


[test.firestore.makeDocumentSnapshot(data, refPath, options)](https://firebase.google.com/docs/reference/functions/test/test.firestore#.makeDocumentSnapshot)

## test.firestore.DocumentSnapshotOptions


[test.firestore.DocumentSnapshotOptions](https://firebase.google.com/docs/reference/functions/test/test.firestore.DocumentSnapshotOptions)


[test.firestore.DocumentSnapshotOptions#createTime](https://firebase.google.com/docs/reference/functions/test/test.firestore.DocumentSnapshotOptions#createTime)

[test.firestore.DocumentSnapshotOptions#firebaseApp](https://firebase.google.com/docs/reference/functions/test/test.firestore.DocumentSnapshotOptions#firebaseApp)


[test.firestore.DocumentSnapshotOptions#readTime](https://firebase.google.com/docs/reference/functions/test/test.firestore.DocumentSnapshotOptions#readTime)

[test.firestore.DocumentSnapshotOptions#updateTime](https://firebase.google.com/docs/reference/functions/test/test.firestore.DocumentSnapshotOptions#updateTime)

## test.pubsub


[test.pubsub](https://firebase.google.com/docs/reference/functions/test/test.pubsub)

[test.pubsub.exampleMessage()](https://firebase.google.com/docs/reference/functions/test/test.pubsub#.exampleMessage)

[test.pubsub.makeMessage(encodedString, attributes)](https://firebase.google.com/docs/reference/functions/test/test.pubsub#.makeMessage)

## test.storage


[test.storage](https://firebase.google.com/docs/reference/functions/test/test.storage)

[test.storage.exampleObjectMetadata()](https://firebase.google.com/docs/reference/functions/test/test.storage#.exampleObjectMetadata)

[test.storage.makeObjectMetaData(fields)](https://firebase.google.com/docs/reference/functions/test/test.storage#.makeObjectMetaData)