import { UserAgent } from '@ionic-native/user-agent' ; export class UserAgentMock extends UserAgent { param userAgent { string } return { Promise < any > } set ( userAgent ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } get ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } reset ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }