Without creating any mock and running jest tests after installing this library I get
/node_modules/@heap/react-native-heap/dist/js/Heap.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import { NativeModules } from 'react-native';
SyntaxError: Cannot use import statement outside a module```
How to mock this library to work with jest tests?
Without creating any mock and running jest tests after installing this library I get