-
Notifications
You must be signed in to change notification settings - Fork 21
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
merge with firebase-mock #29
Comments
I'd love to but unfortunately I wouldn't be able to help that much with the merging. I quickly hacked this before for my personal use and only touch this library when really needed due to lack of time. I read somewhere in stackoverflow that the Firebase team has a mocking library in their pipeline so I've just been using this for the meantime until that official library pops up. |
I didn't know firebase had plans to provide a mocking library. Thanks for the consideration. |
Here's a reference to what I'm saying. That's way back in 2017 so... 😞 |
Hmm, a clear difference seems to be that Is this distinction accurate, or am I misunderstanding? Anyway, if true, this makes If so, would be nice to have a mention of this distinction somewhere, as it's led to quite a bit of confusion as I've evaluated the different firestore-mocking options.
EDIT: Created an issue for this here: soumak77/firebase-mock#157 |
On looking closer at If so, is there a way to exclude the NodeJS-requiring portion of the library? At the moment, it's causing Webpack errors when attempting to import EDIT: For now I'm getting around the issue by adding
|
I'm not the maintainer nor a user of For the distinction, yes this library is suited to run in the browser and nodejs. However, I recommend using the firestore emulator in nodejs as that's the official testing solution for it. That's also the reason why I'll be reluctant on adding nodejs specific API if any in the future. |
I'm wondering whether you would like to merge this library with firebase-mock. I am the developer of that project and would be happy to assist in any way to help merge the feature set from this library. From what I can tell the only key difference is in how you initialize your dataset. Once the data is initialized, the libraries appear to be very similar. There may be some outstanding issues which prevent you from wanting to switch mocking libraries, but I'm sure we can work through them.
The text was updated successfully, but these errors were encountered: