Skip to content

Commit

Permalink
Merge pull request #2369 from pankajjs/fix/flaky-test
Browse files Browse the repository at this point in the history
Fix flaky test present in PR[2335]
  • Loading branch information
pankajjs authored Jan 25, 2025
1 parent f4e99fb commit d98bfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/services/onboardingExtension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ describe("Test Onboarding Extension Service", () => {
expect(response.lastModifiedBy).to.equal(userId);
expect(response.newEndsOn).to.equal(newDate);
expect(response.reason).to.equal("test-reason");
expect(response.updatedAt).to.equal(newDate);
expect(new Date(response.updatedAt).toDateString()).to.equal(new Date(newDate).toDateString());
});

it("should throw error", async () => {
Expand Down

0 comments on commit d98bfa1

Please sign in to comment.