You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
I am using firebase.firestore.Timestamp.now() in my entities constructors in the main app.
I need to be able to use them inside tests as well.
Just importing ts file with entities gives me an error: TypeError: Cannot read property 'Timestamp' of undefined.
I searched everywhere but can't find a solution to this problem. Can someone help? (Ideally with a code example)
The text was updated successfully, but these errors were encountered:
Problem:
I am using
firebase.firestore.Timestamp.now()
in my entities constructors in the main app.I need to be able to use them inside tests as well.
Just importing ts file with entities gives me an error:
TypeError: Cannot read property 'Timestamp' of undefined
.I searched everywhere but can't find a solution to this problem. Can someone help? (Ideally with a code example)
The text was updated successfully, but these errors were encountered: