Skip to content

Commit

Permalink
test: fix timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
yld-weng committed Aug 10, 2021
1 parent e2ab118 commit 11344b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/__tests__/shared.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ describe("Calculate user's local time", () => {
},
]

expect(calculateUserLocalTime("2021-05-17 01:00 PM")).toMatchOneObject(objArr);
expect(calculateUserLocalTime("2021-05-17 01:00 PM", "Europe/London")).toMatchOneObject(objArr);
});

it("returns the date and time in China", () => {
Expand Down

0 comments on commit 11344b9

Please sign in to comment.