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
Because Timestamp was mocked in time.test.js the new test for firebaseTsFromISO fails because the constructor for Timestamp is not mocked. So constructor either needs to also be mocked or a workaround for using the real constructor in this test should be found (maybe something like this).
Expected behavior
Test firestore Timestamp format test in time.test.js passes.
Actual behavior
Test firestore Timestamp format test in time.test.js fails.
The text was updated successfully, but these errors were encountered:
Issue summary
Because Timestamp was mocked in
time.test.js
the new test forfirebaseTsFromISO
fails because the constructor for Timestamp is not mocked. So constructor either needs to also be mocked or a workaround for using the real constructor in this test should be found (maybe something like this).Expected behavior
Test
firestore Timestamp format
test intime.test.js
passes.Actual behavior
Test
firestore Timestamp format
test intime.test.js
fails.The text was updated successfully, but these errors were encountered: