var _extends=Object.assign||function(target){for(var i=1;i module.VERSION, // onInit: (module, version) => {}, // onNoModuleFound: () => {}, // onVersionFound: (version) => {}, // onOverrideUsed: (version, overrideName) => {}, // onOverrideCalled: (version, overrideName) => {}, // mock: { // push: () => Promise.resolve(), // pushNative: () => Promise.resolve(), // setTitle: noop, // }, // overrides: { // 7: { // push: old => (id, props, options) => { // return old(id, props, !!options.animated); // }, // }, // }, // }); var hasOwnProperty=Object.prototype.hasOwnProperty; var UNMOCKED_PROPERTY_WHITELIST={ VERSION:true, addListener:true, removeListeners:true}; var eventEmitterMock={ addListener:function addListener(){}, removeListeners:function removeListeners(){}}; var first=function first(array,fn){ var result=void 0; var i=0; /* eslint no-plusplus: 0 */ for(;i