import { Clipboard } from '@ionic-native/clipboard' ; export class ClipboardMock extends Clipboard { param { string } text returns { Promise < any > } copy ( text ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } paste ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }