Skip to content

Commit

Permalink
changing month to fix formatDate test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhyatox committed Feb 28, 2025
1 parent b556f18 commit f586eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/utils/generalUtils.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ describe("generalUtils.js", function(){
})

it("can check formatDate method", function () {
let dummyDate = "2020-09-27T09:34:54Z"
expect(generalUtils.methods.formatDate(dummyDate)).toBe("Sep 27, 2020");
let dummyDate = "2020-05-27T09:34:54Z"
expect(generalUtils.methods.formatDate(dummyDate)).toBe("May 27, 2020");
})

it("can check compareRecordDescUpdate method", function () {
Expand Down

0 comments on commit f586eba

Please sign in to comment.