Skip to content

Commit

Permalink
fixed test not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Feb 28, 2024
1 parent 194b1fc commit 51be37c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cron.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getAllRFCRemarks } from "./cron";

describe("RFC Listing test", () => {
test("Should not return any remark with future date", async () => {
const remarks = await getAllRFCRemarks(new Date());
expect(remarks).toHaveLength(0);
const { ongoing } = await getAllRFCRemarks(new Date());
expect(ongoing).toHaveLength(0);
}, 60_000);
});

0 comments on commit 51be37c

Please sign in to comment.