mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
test: bump router test time range
fix https://github.com/DIYgod/RSSHub/actions/runs/7104681085/job/19340228876
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user