mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 07:02:01 -05:00
[PR #98] [MERGED] [core] Add Tests for Sources #99
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/98
Author: @ricoberger
Created: 12/5/2023
Status: ✅ Merged
Merged: 12/12/2023
Merged by: @ricoberger
Base:
main← Head:core-add-tests-for-sources📝 Commits (1)
d05491d[core] Add Tests for Sources📊 Changes
29 files changed (+5161 additions, -142 deletions)
View changed files
📝
.github/workflows/continuous-integration.yaml(+1 -1)📝
supabase/functions/_shared/feed/googlenews.ts(+5 -6)➕
supabase/functions/_shared/feed/googlenews_test.ts(+272 -0)📝
supabase/functions/_shared/feed/lemmy.ts(+3 -4)➕
supabase/functions/_shared/feed/lemmy_test.ts(+511 -0)📝
supabase/functions/_shared/feed/mastodon.ts(+5 -6)➕
supabase/functions/_shared/feed/mastodon_test.ts(+316 -0)📝
supabase/functions/_shared/feed/medium.ts(+44 -39)📝
supabase/functions/_shared/feed/medium_test.ts(+368 -1)📝
supabase/functions/_shared/feed/nitter.ts(+6 -7)➕
supabase/functions/_shared/feed/nitter_test.ts(+457 -0)📝
supabase/functions/_shared/feed/pinterest.ts(+27 -31)➕
supabase/functions/_shared/feed/pinterest_test.ts(+188 -0)📝
supabase/functions/_shared/feed/podcast.ts(+7 -8)➕
supabase/functions/_shared/feed/podcast_test.ts(+504 -0)📝
supabase/functions/_shared/feed/reddit.ts(+3 -4)➕
supabase/functions/_shared/feed/reddit_test.ts(+228 -0)📝
supabase/functions/_shared/feed/rss.ts(+29 -11)➕
supabase/functions/_shared/feed/rss_test.ts(+1370 -0)📝
supabase/functions/_shared/feed/stackoverflow.ts(+9 -6)...and 9 more files
📄 Description
This commit adds tests for all available sources.
This commit also fixes the parsing of Atom feeds for the RSS source, where the
dc:datefield must be used for thepublishedAtfield.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.