Skip to content

Commit

Permalink
v1.4.1 (#145)
Browse files Browse the repository at this point in the history
* fix(callFirestore): fix an issue where arrays were sometimes converted to objects
  • Loading branch information
prescottprue authored Jul 13, 2020
1 parent d043c74 commit bd94248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cypress-firebase",
"version": "1.4.0",
"version": "1.4.1",
"description": "Utilities to help testing Firebase projects with Cypress.",
"main": "lib/index.js",
"module": "lib/index.js",
Expand Down
3 changes: 2 additions & 1 deletion src/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ function getDataWithTimestamps(
typeof data[currKey] === 'object' &&
/* eslint-disable-next-line no-underscore-dangle */
!data[currKey]._methodName &&
!data[currKey].seconds
!data[currKey].seconds &&
!Array.isArray(data[currKey])
) {
return {
...acc,
Expand Down

0 comments on commit bd94248

Please sign in to comment.