import { FileChooser } from '@ionic-native/file-chooser' ; export class FileChooserMock extends FileChooser { returns { Promise < string > } open ( ) { return new Promise ( ( resolve , reject ) => { resolve ( '' ) ; } ) ; } ; }