Skip to content

Commit

Permalink
add jest mocks for keycommand
Browse files Browse the repository at this point in the history
  • Loading branch information
azimgd committed Apr 20, 2023
1 parent 16a939d commit 8072f57
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions __mocks__/react-native-key-command.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const registerKeyCommands = () => {};
const unregisterKeyCommands = () => {};
const constants = {};
const eventEmitter = () => {};
const addListener = () => {};

export {
registerKeyCommands,
unregisterKeyCommands,
constants,
eventEmitter,
addListener,
};

0 comments on commit 8072f57

Please sign in to comment.