Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
shynonagons committed Feb 6, 2025
1 parent dad221b commit 3764847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __test__/backend.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,9 +639,9 @@ describe("graphql test suite", () => {
const parsedDate = new Date(copiedCampaign.due_by);
expect(parsedDate).toEqual(campaign.due_by);
} else if (isSqlite) {
expect(copiedCampaign.due_by.getTime()).toEqual(campaign.due_by);
expect(copiedCampaign.due_by.getTime()).toEqual(null);
} else {
expect(copiedCampaign.due_by).toEqual(campaign.due_by);
expect(copiedCampaign.due_by).toEqual(null);
}

if (
Expand Down

0 comments on commit 3764847

Please sign in to comment.