import { NavigationBar } from '@ionic-native/navigation-bar' ; export class NavigationBarMock extends NavigationBar { param autohide { boolean } return { Promise < any > } setUp ( autohide ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; return { Promise < any > } hideNavigationBar ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }