Skip to content

Commit bd94248

Browse files
authored
v1.4.1 (#145)
* fix(callFirestore): fix an issue where arrays were sometimes converted to objects
1 parent d043c74 commit bd94248

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cypress-firebase",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "Utilities to help testing Firebase projects with Cypress.",
55
"main": "lib/index.js",
66
"module": "lib/index.js",

src/tasks.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ function getDataWithTimestamps(
7878
typeof data[currKey] === 'object' &&
7979
/* eslint-disable-next-line no-underscore-dangle */
8080
!data[currKey]._methodName &&
81-
!data[currKey].seconds
81+
!data[currKey].seconds &&
82+
!Array.isArray(data[currKey])
8283
) {
8384
return {
8485
...acc,

0 commit comments

Comments
 (0)