Is your feature request related to a problem? Please describe.
When using webextension-polyfill you have to declare chrome.runtime.id as a string in jest.setup.js, like for example chrome.runtime.id = 'test id' if not you get the following error
Error: This script should only be loaded in a browser extension.
Describe the solution you'd like
I'd like it if jest-chrome could add a random default string or just a hard coded value so I wouldn't have to remember to add this id.
Is your feature request related to a problem? Please describe.
When using
webextension-polyfill
you have to declarechrome.runtime.id
as a string injest.setup.js
, like for examplechrome.runtime.id = 'test id'
if not you get the following errorError: This script should only be loaded in a browser extension.
Describe the solution you'd like
I'd like it if jest-chrome could add a random default string or just a hard coded value so I wouldn't have to remember to add this id.