import { NativeRingtones } from '@ionic-native/native-ringtones' ; export class NativeRingtonesMock extends NativeRingtones { return { Promise < any > } getRingtone ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param { string } ringtoneUri return { Promise < any > } playRingtone ( ringtoneUri ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param { string } ringtoneUri return { Promise < any > } stopRingtone ( ringtoneUri ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }