A module to mock WebExtensions in Jest
BSD-3-CLAUSE License
Published by clarkbw about 4 years ago
Thanks to @hankchiutw in https://github.com/clarkbw/jest-webextension-mock/pull/123 we now have support for tabs.sendMessage
Published by clarkbw over 4 years ago
This adds support for tabs.reload
Published by clarkbw about 6 years ago
See https://github.com/clarkbw/jest-webextension-mock/pull/80 and thanks to @Betree we have support for i18n
Published by clarkbw almost 7 years ago
Thanks to the awesome work by @Kocal in #55 we now support mocks of the notifications API.
Published by clarkbw almost 7 years ago
Check out the great work done by @AllenFang in https://github.com/clarkbw/jest-webextension-mock/pull/46
Major updates to browser.strorage
:
get
function which adapts depending on the parameters of Integer, Array, or Object which can be passed.getBytesInUse
function which are suppose to return integer.set
and remove
function which are suppose to return nothing.Published by clarkbw over 7 years ago
This is the first version and it still has a long way to go. Hoping I get lots of help from here on out. 😄