diff options
author | 2023-04-26 22:58:53 +1000 | |
---|---|---|
committer | 2023-04-26 13:58:53 +0100 | |
commit | 4ea716e5692d23361e9301330ce52733b3d05b01 (patch) | |
tree | f7d473e56813fdcab8ed3208d4c328f4cfea82ee /packages/astro-rss/test/test-utils.js | |
parent | c6f12645868d0f79b04ed511d83b68f4179d96f6 (diff) | |
download | astro-4ea716e5692d23361e9301330ce52733b3d05b01.tar.gz astro-4ea716e5692d23361e9301330ce52733b3d05b01.tar.zst astro-4ea716e5692d23361e9301330ce52733b3d05b01.zip |
Adds extra elements to RSS items. (#6707)
Diffstat (limited to 'packages/astro-rss/test/test-utils.js')
-rw-r--r-- | packages/astro-rss/test/test-utils.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/astro-rss/test/test-utils.js b/packages/astro-rss/test/test-utils.js index 37f95214b..4f0340333 100644 --- a/packages/astro-rss/test/test-utils.js +++ b/packages/astro-rss/test/test-utils.js @@ -30,3 +30,18 @@ export const web1FeedItemWithContent = { ...web1FeedItem, content: `<h1>${web1FeedItem.title}</h1><p>${web1FeedItem.description}</p>`, }; +export const web1FeedItemWithAllData = { + ...web1FeedItem, + categories: ['web1', 'history'], + author: 'test@example.com', + commentsUrl: 'http://example.com/comments', + source: { + url: 'http://example.com/source', + title: 'The Web 1.0 blog', + }, + enclosure: { + url: '/podcast.mp3', + length: 256, + type: 'audio/mpeg', + }, +}; |