diff --git a/test/cases.json b/test/cases.json index 7dd63f867..2a2e381cf 100644 --- a/test/cases.json +++ b/test/cases.json @@ -1,8 +1,13 @@ { - "text": ["/"], + "text": [ + "/" + ], "rss": [ "/bilibili/bangumi/21680", "/weibo/user/1195230310", + "/weibo/user2/1195230310", + "/weibo/keyword/rsshub", + "/weibo/search/hot", "/bangumi/subject/240038", "/bangumi/calendar/today", "/bangumi/subject/240038/comments?minLength=100", diff --git a/test/rules/rss.js b/test/rules/rss.js index 9e42d2062..525be1a2c 100644 --- a/test/rules/rss.js +++ b/test/rules/rss.js @@ -30,7 +30,6 @@ module.exports = async (response) => { expect(item.content).toEqual(expect.any(String)); expect(item.guid).toEqual(expect.any(String)); if (item.pubDate) { - console.log(item.pubDate); expect(item.pubDate).toEqual(expect.any(String)); checkDate(item.pubDate); }