diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-17 15:06:42 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-17 15:06:42 -0800 |
| commit | 95ed6be5c6539d3b5c44fd8505f82cf0e45a7ebc (patch) | |
| tree | f28828784e45dc4073b5176d6585c83bc1f8d27e /frontend-vanilla/src/main.test.ts | |
| parent | 7ad8d0079a09e234cb1b01db47957b16e36c8c07 (diff) | |
| download | neko-95ed6be5c6539d3b5c44fd8505f82cf0e45a7ebc.tar.gz neko-95ed6be5c6539d3b5c44fd8505f82cf0e45a7ebc.tar.bz2 neko-95ed6be5c6539d3b5c44fd8505f82cf0e45a7ebc.zip | |
Refine Settings UI: Fix dark mode text colors, split font controls for headers and body, update monospace stack, and soft-deprecate tags
Diffstat (limited to 'frontend-vanilla/src/main.test.ts')
| -rw-r--r-- | frontend-vanilla/src/main.test.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/frontend-vanilla/src/main.test.ts b/frontend-vanilla/src/main.test.ts index 7dddc3f..7cad61a 100644 --- a/frontend-vanilla/src/main.test.ts +++ b/frontend-vanilla/src/main.test.ts @@ -4,12 +4,10 @@ import { router } from './router'; import { renderLayout, renderFeeds, - renderTags, renderFilters, renderItems, renderSettings, fetchFeeds, - fetchTags, fetchItems, init, logout @@ -76,6 +74,7 @@ describe('main application logic', () => { expect(feedList?.innerHTML).toContain('Test Feed'); }); + /* FIXME: Tags feature soft-deprecated it('renderTags should populate tag list', () => { renderLayout(); store.setTags([{ title: 'Test Tag' } as any]); @@ -83,6 +82,7 @@ describe('main application logic', () => { const tagList = document.getElementById('tag-list'); expect(tagList?.innerHTML).toContain('Test Tag'); }); + */ it('renderFilters should update active filter', () => { renderLayout(); @@ -118,6 +118,7 @@ describe('main application logic', () => { expect(store.feeds[0].title).toBe('API Feed'); }); + /* FIXME: Tags feature soft-deprecated it('fetchTags should update store', async () => { vi.mocked(apiFetch).mockResolvedValueOnce({ ok: true, @@ -128,6 +129,7 @@ describe('main application logic', () => { expect(store.tags).toHaveLength(1); expect(store.tags[0].title).toBe('API Tag'); }); + */ it('fetchItems should update store items', async () => { vi.mocked(apiFetch).mockResolvedValueOnce({ @@ -348,6 +350,7 @@ describe('main application logic', () => { getCurrentRouteSpy.mockRestore(); }); + /* FIXME: Tags feature soft-deprecated it('should navigate to tag when clicking tag from settings page', () => { renderLayout(); store.setTags([{ title: 'Tech' } as any]); @@ -363,6 +366,7 @@ describe('main application logic', () => { expect(navigateSpy).toHaveBeenCalledWith('/tag/Tech', expect.any(Object)); getCurrentRouteSpy.mockRestore(); }); + */ it('deleteFeed should call API', async () => { vi.mocked(apiFetch).mockResolvedValueOnce({ ok: true } as Response); |
