import { NativeStorage } from '@ionic-native/native-storage' ; export class NativeStorageMock extends NativeStorage { param reference { string } param value returns { Promise < any > } setItem ( reference , value ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param reference { string } returns { Promise < any > } getItem ( reference ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } keys ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param reference { string } returns { Promise < any > } remove ( reference ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } clear ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }