all caught up icon, counter dynamic
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user