feat(route/steam/search): add thumbnails to steam search items #29949
Annotations
3 errors
Test all and generate coverage:
lib/middleware/cache.test.ts#L99
AssertionError: expected { items: [ { …(9) }, …(5) ], …(7) } to match object { items: [ { …(9) }, …(5) ], …(7) }
- Expected
+ Received
Object {
"description": "A test route for RSSHub - Powered by RSSHub",
"generator": "RSSHub",
"items": Array [
Object {
"author": "DIYgod0",
- "content": "Cache1",
- "contentSnippet": "Cache1",
+ "content": "Cache2",
+ "contentSnippet": "Cache2",
"creator": "DIYgod0",
"guid": "https://github.com/DIYgod/RSSHub/issues/0",
"isoDate": "2019-03-01T00:00:00.000Z",
"link": "https://github.com/DIYgod/RSSHub/issues/0",
"pubDate": "Fri, 01 Mar 2019 00:00:00 GMT",
"title": "Cache Title",
},
Object {
"author": "DIYgod1",
"content": "Description1",
"contentSnippet": "Description1",
"creator": "DIYgod1",
"guid": "https://github.com/DIYgod/RSSHub/issues/1",
"isoDate": "2018-12-31T15:59:50.000Z",
"link": "https://github.com/DIYgod/RSSHub/issues/1",
"pubDate": "Mon, 31 Dec 2018 15:59:50 GMT",
"title": "Title1",
},
Object {
"author": "DIYgod2",
"content": "Description2",
"contentSnippet": "Description2",
"creator": "DIYgod2",
"guid": "https://github.com/DIYgod/RSSHub/issues/2",
"isoDate": "2018-12-31T15:59:40.000Z",
"link": "https://github.com/DIYgod/RSSHub/issues/2",
"pubDate": "Mon, 31 Dec 2018 15:59:40 GMT",
"title": "Title2",
},
Object {
"author": "DIYgod3",
"content": "Description3",
"contentSnippet": "Description3",
"creator": "DIYgod3",
"guid": "https://github.com/DIYgod/RSSHub/issues/3",
"isoDate": "2018-12-31T15:59:30.000Z",
"link": "https://github.com/DIYgod/RSSHub/issues/3",
"pubDate": "Mon, 31 Dec 2018 15:59:30 GMT",
"title": "Title3",
},
Object {
"author": "DIYgod4",
"content": "Description4",
"contentSnippet": "Description4",
"creator": "DIYgod4",
"guid": "https://github.com/DIYgod/RSSHub/issues/4",
"isoDate": "2018-12-31T15:59:20.000Z",
"link": "https://github.com/DIYgod/RSSHub/issues/4",
"pubDate": "Mon, 31 Dec 2018 15:59:20 GMT",
"title": "Title4",
},
Object {
"author": "DIYgod5",
"content": "Description5",
"contentSnippet": "Description5",
"creator": "DIYgod5",
"guid": "https://github.com/DIYgod/RSSHub/issues/5",
"isoDate": "2018-12-31T15:59:10.000Z",
"link": "https://github.com/DIYgod/RSSHub/issues/5",
"pubDate": "Mon, 31 Dec 2018 15:59:10 GMT",
"title": "Title5",
},
],
"language": "en",
"link": "https://github.com/DIYgod/RSSHub",
"title": "Test cache",
"ttl": "1",
"webMaster": "[email protected] (RSSHub)",
}
❯ lib/middleware/cache.test.ts:99:25
|
Test all and generate coverage:
lib/utils/cache.test.ts#L41
Error: Redis client error
❯ lib/utils/cache.test.ts:41:19
|
Test all and generate coverage
Process completed with exit code 1.
|
Loading