Skip to content

Commit 0f26e61

Browse files
committed
DateTime doesn't throw error anymore when created with offset and timezoneid
1 parent 399da38 commit 0f26e61

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/neo4j-driver/test/temporal-types.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,9 +1007,6 @@ describe('#integration temporal-types', () => {
10071007
expect(
10081008
() => new neo4j.types.DateTime(1, 2, 3, 4, 5, 6, 7, null, null)
10091009
).toThrow()
1010-
expect(
1011-
() => new neo4j.types.DateTime(1, 2, 3, 4, 5, 6, 7, 8, 'UK')
1012-
).toThrow()
10131010
}, 60000)
10141011

10151012
it('should convert standard Date to neo4j LocalTime', () => {

0 commit comments

Comments
 (0)