# All files / src/lib/services/platform platform.service.mock.ts

70% Statements 14/20
45.45% Branches 10/22
44.44% Functions 4/9
64.28% Lines 9/14

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    301x
    1x
    1x
    1x
    1x

    1x

    28x

    1x
    1ximport { Injectable } from '@angular/core';

    @InjIectable()
    export class PlatformServiceMock {
    	constructor() {}

    	isMobile(): boolean {
    		return false;
    	}

    	isFirefox(): boolean {
    		return false;
    	}

    	private isAndroid(): boolean {
    		return false;
    	}

    	private isIos(): boolean {
    		return false
    	}
    	private isIPhoneOrIPad(userAgent): boolean {
    		return false;
    	}

    	private isIOSWithSafari(userAgent): boolean {
    		return false;
    	}
    }