firebase / firebase-functions-test

MIT License
232 stars 48 forks source link

Support null value in makeDataSnapshot and update dependencies #53

Closed laurenzlong closed 4 years ago

laurenzlong commented 4 years ago

Description

Add support for null value in data snapshot (https://github.com/firebase/firebase-functions-test/issues/48), added unit tests for creating Firestore DocumentSnapshot and RTDB DataSnapshot, also updated dependencies to more modern versions. (Note: peer dependencies are updated less aggressively than dev dependencies, since dev dependencies are what a contributor of this library must install, whereas peer dependencies are what users of this library must use)

Code sample