Performance: reduce tasks badge load times (#14552)

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Jan Kleineandshamoon authored and GitHub committed 2026-10-26 14:23:33 +00:00
1 parent 5f17b1a310
commit 7d8147c21d
5 files changed
+52 -137

No files matched your search

@@ -588,8 +588,8 @@ describe('AppFrameComponent', () => {
it('should show tasks badge for needs-attention tasks', () => {
jest
.spyOn(tasksService, 'needsAttentionTasks', 'get')
.mockReturnValue([{} as any, {} as any])
.spyOn(tasksService, 'needsAttentionTasksCount', 'get')
.mockReturnValue(2)
fixture.detectChanges()