Skip to content

Commit

Permalink
fix: test? (#248)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Burtey <nb@galoy.io>
  • Loading branch information
nicolasburtey and Nicolas Burtey authored May 31, 2023
1 parent ae4d1d8 commit 6ebba25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe("datetime utils", () => {

describe("formatTime", () => {
it("works", () => {
expect(formatTime(mockedUnixTime - 60)).toEqual("Sat, Aug 22, 2020, 3:42 PM")
expect(formatTime(mockedUnixTime - 60)).toMatch(/Sat, Aug 22, 2020, 3:42 PM/u)
})
})

Expand Down

0 comments on commit 6ebba25

Please sign in to comment.