-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for mocking server timestamp #238
Comments
Hi @AndrasTimar , would you mind share more information about the |
Sure, you can read about it here: https://pub.dev/packages/clock |
That sounds great! Would you be able to contribute a PR for it? |
I created a PR for this. Sorry, I am late........very late. |
Thanks to @ming-chu for implementing this. I just published it to https://pub.dev/packages/fake_cloud_firestore/changelog#246. |
I would like to propose the use of the clock package, which would make it possible to mock the server timestamp. Now the code uses Timestamp.now(), which in return uses DateTime.now(), which can not be changed from the outside.
The text was updated successfully, but these errors were encountered: