diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-13 10:04:17 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-13 10:04:17 -0800 |
| commit | 5669961d674b2764082c7c9585484cb090b71e45 (patch) | |
| tree | 12cb5fadb849ecb725e7484e3717b9740800e929 /frontend/src/components/TagView.test.tsx | |
| parent | 23a48e1d498680be769e931f46ddb1fd44f38d1a (diff) | |
| download | neko-5669961d674b2764082c7c9585484cb090b71e45.tar.gz neko-5669961d674b2764082c7c9585484cb090b71e45.tar.bz2 neko-5669961d674b2764082c7c9585484cb090b71e45.zip | |
Implement frontend parity features: Unread view, shortcuts, scroll-to-read, filters
Diffstat (limited to 'frontend/src/components/TagView.test.tsx')
| -rw-r--r-- | frontend/src/components/TagView.test.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend/src/components/TagView.test.tsx b/frontend/src/components/TagView.test.tsx index 8a724cd..6304fb2 100644 --- a/frontend/src/components/TagView.test.tsx +++ b/frontend/src/components/TagView.test.tsx @@ -76,6 +76,9 @@ describe('Tag View Integration', () => { expect(screen.getByText('Tag Item 1')).toBeInTheDocument(); }); - expect(global.fetch).toHaveBeenCalledWith('/api/stream?tag=Tech'); + const params = new URLSearchParams(); + params.append('tag', 'Tech'); + params.append('read_filter', 'unread'); + expect(global.fetch).toHaveBeenCalledWith(`/api/stream?${params.toString()}`); }); }); |
