counter on feed select

This commit is contained in:
2026-07-13 17:46:49 +02:00
parent 671ed86b48
commit a898e7ac33
4 changed files with 30 additions and 5 deletions
+3 -2
View File
@@ -241,8 +241,9 @@ describe('AppNav', () => {
await flushPromises()
const options = wrapper.find('.app-nav__filter').findAll('option').map(o => o.text())
// "All feeds" first, then distinct titles sorted alphabetically.
expect(options).toEqual(['All feeds', 'Feed A', 'Feed B'])
// "All feeds" first, then distinct titles sorted alphabetically, each with
// its unread count.
expect(options).toEqual(['All feeds', 'Feed A (2)', 'Feed B (1)'])
})
it('does not render the feed filter when there are no feeds', async () => {