Skip to content

Commit

Permalink
geosolutions-it#9706: resolve FE test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoudadel54 committed Jan 16, 2024
1 parent 2960978 commit ad64e56
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions web/client/utils/__tests__/TimeUtils-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,6 @@ describe('TimeUtils', () => {
});
});
it('test getLocalTimePart', () => {
// utc dates without 'Z'
expect(getLocalTimePart(new Date("2019-03-15T10:30:00Z"))).toBe("12:30:00");
expect(getLocalTimePart(new Date("2018-01-09T05:03:00Z"))).toBe("07:03:00");
// local dates
expect(getLocalTimePart(new Date("2018-01-09T01:00:00"))).toBe("01:00:00");
expect(getLocalTimePart(new Date("2018-01-09T12:00:00"))).toBe("12:00:00");
});
Expand Down

0 comments on commit ad64e56

Please sign in to comment.