Add weibo test

This commit is contained in:
SettingDust 2019-01-01 22:17:08 +08:00
parent 02867a2220
commit e866a3ecbc
2 changed files with 6 additions and 2 deletions

View File

@ -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",

View File

@ -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);
}