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 25c89a37b..5d84cb49c 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 @@ -341,17 +341,25 @@ describe('DashboardRailComponent', () => { // a compositor transform driven by this property instead. installObservers(false); const { fixture } = await render([ - card({ id: 'known', contentType: 'live', nowPlayingProgress: 37.5 }), + card({ + id: 'known', + contentType: 'live', + nowPlayingProgress: 37.5, + }), card({ id: 'unknown', contentType: 'live' }), ]); const fills = Array.from( - (fixture.nativeElement as HTMLElement).querySelectorAll( - '.rail__channel-progress i' - ) + ( + fixture.nativeElement as HTMLElement + ).querySelectorAll('.rail__channel-progress i') ); expect(fills).toHaveLength(2); - expect(fills[0].style.getPropertyValue('--live-progress')).toBe('37.5'); - expect(fills[1].style.getPropertyValue('--live-progress')).toBe('0'); + expect(fills[0].style.getPropertyValue('--live-progress')).toBe( + '37.5' + ); + expect(fills[1].style.getPropertyValue('--live-progress')).toBe( + '0' + ); expect(fills.map((fill) => fill.style.width)).toEqual(['', '']); });