Closed ghost closed 5 years ago
Apologies. I did not realize these were API stubs, not for faking behavior.
Apologies. I did not realize these were API stubs, not for faking behavior.
so, is that all of the returning should be mocked by self?
And all of the returning should be mocked by .returns()
? is it right? thanks
chrome.alarms.getAll()
should return an array of alarms. However, it is returningundefined
using v3.0.1.