import { Instagram } from '@ionic-native/instagram' ; export class InstagramMock extends Instagram { returns { Promise < boolean | string > } isInstalled ( ) { let response = true ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param canvasIdOrDataUrl param caption returns { Promise < any > } share ( canvasIdOrDataUrl , caption ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param assetLocalIdentifier returns { Promise < any > } shareAsset ( assetLocalIdentifier ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }