Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyAkkuratov committed Mar 6, 2024
1 parent 6d65a51 commit 1336f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HW08/task03.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe("Task03", () => {
const youngerDate = "28.11.1989";

it("test getDate function", () => {
const testDate = new Date("2015-04-17T00:00:00+0300");
const testDate = new Date("2015-04-17T00:00:00");
expect(getDate("17.04.2015")).toEqual(testDate);
});

Expand Down

0 comments on commit 1336f5c

Please sign in to comment.