Skip to content

Commit

Permalink
test: bump router test time range
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyRL authored Dec 5, 2023
1 parent 7dee6a8 commit 88241f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function checkRSS(response) {
expect(date).toEqual(expect.any(String));
expect(Date.parse(date)).toEqual(expect.any(Number));
expect(new Date() - new Date(date)).toBeGreaterThan(-1000 * 60 * 60 * 24 * 5);
expect(new Date() - new Date(date)).toBeLessThan(1000 * 60 * 60 * 24 * 30 * 12 * 5);
expect(new Date() - new Date(date)).toBeLessThan(1000 * 60 * 60 * 24 * 30 * 12 * 10);
};

const parsed = await parser.parseString(response.text);
Expand Down

0 comments on commit 88241f5

Please sign in to comment.