import { PowerManagement } from '@ionic-native/power-management' ; export class PowerManagementMock extends PowerManagement { returns { Promise < any > } acquire ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } dim ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } release ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param set { boolean } returns { Promise < any > } setReleaseOnPause ( set ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }