Skip to content

Commit

Permalink
hot-fix: update creating date
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenesius committed Nov 19, 2023
1 parent 1180ceb commit 1fc6e1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/units/utils/grand-object.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ describe("Grand Object", () => {
})

test("Date should not be converted", () => {
expect(grandObject({ date: new Date() })).toEqual(grandObject({date: new Date()}))
const date = new Date(10, 10, 10, 0, 0, 0, 0)
const other = new Date(10, 10, 10, 0, 0, 0, 0)

expect(grandObject({ date: date })).toEqual(grandObject({date: other}))
})

})
Expand Down

0 comments on commit 1fc6e1e

Please sign in to comment.