Skip to content

Commit

Permalink
temporary fix localdatetime, types tests require some refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
MacondoExpress committed Feb 19, 2025
1 parent 7f2137f commit 2d051f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ describe("LocalDateTime", () => {
"should filter based on localDT comparison, for filter %s",
async (filter) => {
const futureId = generate({ readable: false });
const future = "2025-02-18T18:10:55.462Z".split("Z")[0];
const future = "6025-02-18T18:10:55.462Z".split("Z")[0];
const parsedFuture = parseLocalDateTime(future);
const neo4jFuture = new neo4jDriver.types.LocalDateTime(
parsedFuture.year,
Expand Down Expand Up @@ -358,7 +358,7 @@ describe("LocalDateTime", () => {
describe("sorting", () => {
test.each(["ASC", "DESC"])("should sort based on localDT, sorting by %s", async (sort) => {
const futureId = generate({ readable: false });
const future = "2025-08-10T05:25:26.654Z".split("Z")[0];
const future = "6025-08-10T05:25:26.654Z".split("Z")[0];
const parsedFuture = parseLocalDateTime(future);
const neo4jFuture = new neo4jDriver.types.LocalDateTime(
parsedFuture.year,
Expand Down

0 comments on commit 2d051f3

Please sign in to comment.