Skip to content

Commit

Permalink
chore(Keyboard): Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
stonelasley committed Jul 7, 2018
1 parent eccc89c commit 6b8be72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/native/keyboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import deprecated from 'deprecated-decorator';
const METHODS = ['hideKeyboardAccessoryBar', 'show', 'close', 'disableScroll', 'onKeyboardShow', 'onKeyboardHide'];

export class KeyboardMock extends BaseMock {
constructor(){
constructor() {
super('Keyboard', METHODS);
this.setReturn('onKeyboardShow', ArrayObservable.of(undefined));
this.setReturn('onKeyboardHide', ArrayObservable.of(undefined));
}

@deprecated('new KeybaordMock()')
@deprecated('new KeyboardMock()')
public static instance(): any {
return new KeyboardMock();
}
Expand Down

0 comments on commit 6b8be72

Please sign in to comment.