import { AppVersion } from '@ionic-native/app-version' ; export class AppVersionMock extends AppVersion { returns { Promise < any > } getAppName ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } getPackageName ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } getVersionCode ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } getVersionNumber ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }