Merge branch 'codex/fix/verbose-board-loading-feed'

This commit is contained in:
Tommaso Casaburi
2026-05-21 18:02:06 +07:00
4 changed files with 46 additions and 19 deletions
+2 -2
View File
@@ -765,7 +765,7 @@ describe('Board', () => {
await renderBoard({ initialEntry: '/mu', routePath: '/:boardIdentifier/*' });
expect(container.textContent).not.toContain('no_threads');
expect(container.querySelector('[data-testid="loading-ellipsis"]')?.textContent).toBe('loading_feed');
expect(container.querySelector('[data-testid="loading-ellipsis"]')?.textContent).toBe('downloading_board');
});
it('does not show no threads while an empty board feed is still loading', async () => {
@@ -781,7 +781,7 @@ describe('Board', () => {
await renderBoard({ initialEntry: '/mu', routePath: '/:boardIdentifier/*' });
expect(container.textContent).not.toContain('no_threads');
expect(container.querySelector('[data-testid="loading-ellipsis"]')?.textContent).toBe('loading_feed');
expect(container.querySelector('[data-testid="loading-ellipsis"]')?.textContent).toBe('downloading_board');
});
it('shows no threads after an empty board feed finishes loading', async () => {