diff --git a/packages/neo4j-driver/test/temporal-types.test.js b/packages/neo4j-driver/test/temporal-types.test.js index 9ee7d2653..6840fbc39 100644 --- a/packages/neo4j-driver/test/temporal-types.test.js +++ b/packages/neo4j-driver/test/temporal-types.test.js @@ -1455,6 +1455,11 @@ describe('#integration temporal-types', () => { expect(records.length).toEqual(1) const receivedValue = records[0].get(0) + // Amend test to ignore timeZoneOffsetInSeconds returned by the + // new servers in ZonedDateTime with the utc fix + if (value.timeZoneId != null && receivedValue.timeZoneOffsetSeconds != null) { + receivedValue.timeZoneOffsetInSeconds = undefined + } expect(receivedValue).toEqual(value) }