all caught up icon, counter dynamic

This commit is contained in:
2026-06-09 20:20:17 +02:00
parent b851e0257c
commit 039e0b448c
5 changed files with 53 additions and 6 deletions
@@ -40,7 +40,7 @@ describe('RssFeeds', () => {
await flushPromises()
expect(axios.get).toHaveBeenCalledWith('/api/v1/article/get/7', expect.anything())
expect(wrapper.text()).toContain('No unread articles.')
expect(wrapper.text()).toContain('All caught up')
})
it('renders the fetched feed items', async () => {
@@ -68,7 +68,7 @@ describe('RssFeeds', () => {
expect(wrapper.text()).toContain('Article one')
expect(wrapper.text()).toContain('My Feed')
expect(wrapper.text()).not.toContain('No unread articles.')
expect(wrapper.text()).not.toContain('All caught up')
})
it('renders the list as cards when the card layout is selected', async () => {