Mike Dedys

Results 4 comments of Mike Dedys

> I had the same problem. This is what works for me. > > package.json > > ``` > { > name: "MyApp", > ... > } > ``` >...

This isn't a cause of this repo I believe. Someone has created an issue related to the same topic here: https://github.com/zxing-js/browser/issues/90

Something like this works: ``` const A = { MyFunc: () => {} } export default A ``` ``` import A from "./A.js" mock.method(A, "myFunc", () => Promise.resolve()); ``` The...

Is this going to be merged soon?