acvetkov / sinon-chrome

Testing chrome extensions with Node.js
ISC License
439 stars 48 forks source link

chrome.management.getAll(callback) never calls the callback, so test freezes #106

Open TheDirigible opened 4 years ago

TheDirigible commented 4 years ago

If I need to override this manually, please let me know how.

TheDirigible commented 4 years ago

I figured it out. Added the line: chrome.management.getAll.callsArgWith(0, blah);