Skip to content

Commit

Permalink
fix(lint issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsinayaz authored and AhsanAyaz committed May 26, 2021
1 parent 368a76d commit c4a915f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ describe('DeviceDetectorService', () => {
it('should detect Device Honeywell RT10A as a tablet', inject(
[DeviceDetectorService],
(service: DeviceDetectorService) => {
const userAgent = 'Mozilla/5.0 (Linux; Android 10; RT10A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Safari/537.36';
const userAgent =
'Mozilla/5.0 (Linux; Android 10; RT10A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Safari/537.36';
service.setDeviceInfo(userAgent);
expect(service.isMobile(userAgent)).toBeFalsy();
expect(service.isDesktop(userAgent)).toBeFalsy();
Expand Down

0 comments on commit c4a915f

Please sign in to comment.