Skip to content

Commit

Permalink
fix: fixing types in test
Browse files Browse the repository at this point in the history
  • Loading branch information
willmendesneto committed Feb 18, 2021
1 parent 5845a21 commit f73d4b6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;',
);
});
});
});

0 comments on commit f73d4b6

Please sign in to comment.