-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
bug(types): callFirestore produces an error when using querying options in typescript #396
Comments
Same issue for me. Try passing an empty string as 3rd argument like
|
Thank you Chris for responding. I tried this and does stop the test from crashing, however is simply get all the records from the database. Not the ones where the "uid" matches. |
Hey, thanks for reporting! I'll look into replicating - what is weird is that I thought there was a number of tests covering this 🤔 |
I was not able to replicate this in the updated Typescript example (updated to Typescript in Cypress folder as well as part of v2.2.0). From the looks of it the build doesn't even include Could everyone give version 2.2.0 a try and see if you are still seeing the issue? If so, I'm wondering if it has to do with typescript config of some kind somewhere else within your project. If you are still able to reproduce please respond with your setup |
Updated to 2.2.5 from 1.x on my side and it fix the problem :) |
Describe the bug
["uid", "==", "L6l35k13fpYIYVW6DeouSqxhu4h2"]
tslib_1.__spreadArray is not a function
To Reproduce
Steps to reproduce the behavior:
I called the firestore command in the following way.
Expected behavior/code
A clear and concise description of what you expected to happen (or code).
Possible Solution
I read the following issue with a similar error which was resolved by bumping or changing the tslib version:
formatjs/formatjs#2645
Additional Context/Screenshots
I took a screenshot of the error and stack trace.
(Hi Prescott,
I am learning e2e testing and i am new to web development.
This is my first github issue if i am missing some information, please let me know!
Thanks for writing this library.)
The text was updated successfully, but these errors were encountered: