import { BrowserTab } from '@ionic-native/browser-tab' ; export class BrowserTabMock extends BrowserTab { return { Promise < any > } isAvailable ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param { string } url return { Promise < any > } openUrl ( url ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } close ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }