Skip to content

Commit

Permalink
Fix sqlite test case
Browse files Browse the repository at this point in the history
  • Loading branch information
shynonagons committed Feb 6, 2025
1 parent 3764847 commit 7f757f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __test__/backend.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ 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(null);
expect(copiedCampaign.due_by).toEqual(null);
} else {
expect(copiedCampaign.due_by).toEqual(null);
}
Expand Down

0 comments on commit 7f757f2

Please sign in to comment.