diff --git a/libs/workspace/dashboard/feature/src/lib/rails/dashboard-live-epg.presenter.spec.ts b/libs/workspace/dashboard/feature/src/lib/rails/dashboard-live-epg.presenter.spec.ts index f9c04bbce..80a36e6e6 100644 --- a/libs/workspace/dashboard/feature/src/lib/rails/dashboard-live-epg.presenter.spec.ts +++ b/libs/workspace/dashboard/feature/src/lib/rails/dashboard-live-epg.presenter.spec.ts @@ -348,7 +348,11 @@ describe('DashboardLiveEpgPresenter', () => { }); it('asks a guide again only once a programme on air has ended', () => { - const fromA = card({ id: 'a', epgLookupKey: 'ard.de', epgPlaylistId: 'a' }); + const fromA = card({ + id: 'a', + epgLookupKey: 'ard.de', + epgPlaylistId: 'a', + }); getCurrentProgramsForChannels.mockImplementation(() => of(new Map([['ard.de', program('Tagesschau')]])) ); @@ -370,7 +374,11 @@ describe('DashboardLiveEpgPresenter', () => { }); it('moves progress on every clock tick while the programme is unchanged', () => { - const fromA = card({ id: 'a', epgLookupKey: 'ard.de', epgPlaylistId: 'a' }); + const fromA = card({ + id: 'a', + epgLookupKey: 'ard.de', + epgPlaylistId: 'a', + }); getCurrentProgramsForChannels.mockImplementation(() => of(new Map([['ard.de', program('Tagesschau')]])) ); diff --git a/libs/workspace/dashboard/feature/src/lib/rails/dashboard-live-epg.utils.ts b/libs/workspace/dashboard/feature/src/lib/rails/dashboard-live-epg.utils.ts index af10c32ae..5f43c345c 100644 --- a/libs/workspace/dashboard/feature/src/lib/rails/dashboard-live-epg.utils.ts +++ b/libs/workspace/dashboard/feature/src/lib/rails/dashboard-live-epg.utils.ts @@ -292,7 +292,8 @@ export function sameLiveEpgAnswers( !program || !other || program.title !== other.title || - epgTimestampMs(program, 'start') !== epgTimestampMs(other, 'start') || + epgTimestampMs(program, 'start') !== + epgTimestampMs(other, 'start') || epgTimestampMs(program, 'stop') !== epgTimestampMs(other, 'stop') ) { return false; diff --git a/libs/workspace/dashboard/feature/src/lib/rails/dashboard-rail.component.spec.ts b/libs/workspace/dashboard/feature/src/lib/rails/dashboard-rail.component.spec.ts index eaba4900c..3acd115e8 100644 --- a/libs/workspace/dashboard/feature/src/lib/rails/dashboard-rail.component.spec.ts +++ b/libs/workspace/dashboard/feature/src/lib/rails/dashboard-rail.component.spec.ts @@ -360,7 +360,9 @@ describe('DashboardRailComponent', () => { card({ id: 'b', contentType: 'live', nowPlayingProgress: 21 }), ]); expect(reset).not.toHaveBeenCalled(); - expect(observers[0].observed).toHaveLength(observedAfterFirstRender); + expect(observers[0].observed).toHaveLength( + observedAfterFirstRender + ); // A newly watched channel moves to the front. await rerender([ diff --git a/libs/workspace/dashboard/feature/src/lib/rails/dashboard-source-expiry-clock.spec.ts b/libs/workspace/dashboard/feature/src/lib/rails/dashboard-source-expiry-clock.spec.ts index 653fbe5c1..c442c62d6 100644 --- a/libs/workspace/dashboard/feature/src/lib/rails/dashboard-source-expiry-clock.spec.ts +++ b/libs/workspace/dashboard/feature/src/lib/rails/dashboard-source-expiry-clock.spec.ts @@ -10,7 +10,9 @@ const DAY_MS = 86_400_000; describe('createSourceExpiryClock', () => { const nowMs = Date.UTC(2026, 7, 1, 12, 0, 0); - let facts: ReturnType>>; + let facts: ReturnType< + typeof signal> + >; let clock: Signal; const expiringIn = (ms: number): SourceExpiryFacts => ({ diff --git a/libs/workspace/dashboard/feature/src/lib/rails/dashboard-source-expiry-clock.ts b/libs/workspace/dashboard/feature/src/lib/rails/dashboard-source-expiry-clock.ts index 372be3e64..de27f5b6f 100644 --- a/libs/workspace/dashboard/feature/src/lib/rails/dashboard-source-expiry-clock.ts +++ b/libs/workspace/dashboard/feature/src/lib/rails/dashboard-source-expiry-clock.ts @@ -1,10 +1,4 @@ -import { - DestroyRef, - effect, - inject, - signal, - type Signal, -} from '@angular/core'; +import { DestroyRef, effect, inject, signal, type Signal } from '@angular/core'; import { DOCUMENT } from '@angular/common'; import { nextSourceExpiryChangeMs,