cloud_firestore_mocks 0.4.0+1
cloud_firestore_mocks: ^0.4.0+1 copied to clipboard
Mocks for Cloud Firestore. Use this package to write unit tests involving Cloud Firestore.
0.4.0+1 #
- fixed some lint error.
0.4.0 #
- support
CollectionReference.document(). Thanks suztomo! - support nested documents. Thanks suztomo!
- support
FieldValue.serverTimestamp(). Thanks suztomo! - breaking change: remove requirement to call
setupFieldValueFactory(). They are now initialized automatically whenMockFirestoreInstanceis instantiated.
0.3.1 #
- support
FieldValue.delete()again.
0.3.0 #
- fixed breakage due to
FieldValue.typeandFieldValue.valuebeing removed from the public API at cloud_firestore 0.10.0. - implemented chainable
Query.where. Thank you qwales1! - dropped support for
FieldValue.delete().
0.2.6 #
- implemented
MockDocumentReference.snapshots(). Thank you dfdgsdfg and terry960302!
0.2.5 #
- upgraded cloud_firestore to ^0.13.0+1.
0.2.4 #
- cleaned up the public documentation to expose only
MockFirestoreInstance.
0.2.3 #
- fixed code health related issues.
0.2.2 #
- added support for
isGreaterThanOrEqualTo,isLessThan,isLessThanOrEqualToinCollectionReference.where. - implemented mock
DocumentReference.delete.
0.2.1 #
- Fixed snapshots not firing several times.
- Implemented example unit tests based on Firestore's own example project.
0.2.0 #
- Initial version.