atn832 / fake_cloud_firestore

BSD 2-Clause "Simplified" License
118 stars 88 forks source link

Support for flutter web #267

Closed desimmons closed 1 year ago

desimmons commented 1 year ago

When running tests against a web-based platform, e.g., chrome, the instantiation of FakeFirebaseFirestore() appears to be blocking and ultimately causes the tests to timeout and fail.

To reproduce this, from the root of this repository:

flutter test --verbose --platform chrome
atn832 commented 1 year ago

Thanks, it seems like there was some issue with cel, which fake_cloud_firestore indirectly depends on. I fixed cel and published an update. So if you run flutter pub upgrade, it should transitively install the latest version of cel, and it should fix the issue.

Related ticket.