react-native-mock-tmp-build
Version:
A fully mocked and test-friendly version of react native
12 lines (9 loc) • 428 B
JavaScript
var Keyboard={
addListener:function(){function addListener(eventname,handler){
return{
remove:function(){function remove(){}return remove;}()};
}return addListener;}(),
removeListener:function(){function removeListener(){}return removeListener;}(),
removeAllListeners:function(){function removeAllListeners(){}return removeAllListeners;}(),
dismiss:function(){function dismiss(){}return dismiss;}()};
module.exports=Keyboard;