diff --git a/projects/ngx-skeleton-loader/src/lib/ngx-skeleton-loader.component.spec.ts b/projects/ngx-skeleton-loader/src/lib/ngx-skeleton-loader.component.spec.ts index a5be750..2f1d0a0 100644 --- a/projects/ngx-skeleton-loader/src/lib/ngx-skeleton-loader.component.spec.ts +++ b/projects/ngx-skeleton-loader/src/lib/ngx-skeleton-loader.component.spec.ts @@ -158,7 +158,9 @@ describe('NgxSkeletonLoaderComponent', () => { const skeletonWithTheming = fixture.nativeElement.querySelector('.skeletons-with-theming .loader.circle') .attributes as NamedNodeMap; - expect(skeletonWithTheming.getNamedItem('style').value).toBe('width: 70px; height: 70px; border-radius: 10px;'); + expect((skeletonWithTheming.getNamedItem('style') as Attr).value).toBe( + 'width: 70px; height: 70px; border-radius: 10px;', + ); }); }); });