import { Backlight } from '@ionic-native/backlight' ; export class BacklightMock extends Backlight { return { Promise < any > } on ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } off ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }