Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
loicguillois committed Dec 5, 2024
1 parent 49409d7 commit d4efaf5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('SourceOwner', () => {
birth_date: -698716800
});

expect(actual.birth_date?.toJSON()).toBe('1947-11-10T00:00:00.000Z');
expect(actual.birth_date?.toJSON()).toBe('1947-11-11T00:00:00.000Z');
});

it('should parse birth date from string to date', () => {
Expand All @@ -41,6 +41,6 @@ describe('SourceOwner', () => {
birth_date: '1947-11-11'
});

expect(actual.birth_date?.toJSON()).toBe('1947-11-11T00:00:00.000Z');
expect(actual.birth_date?.toJSON()).toBe('1947-11-10T23:00:00.000Z');
});
});

0 comments on commit d4efaf5

Please sign in to comment.