Commit addd032
committed
Fix broken unit tests
Mozilla's Webextension Polyfill throws an error when
run in the unit test environment. This has been fixed
by mocking the browser environment using browser-env
and having a global `chrome` object.
Signed-off-by: Gary Kim <[email protected]>1 parent 06a4bec commit addd032
File tree
4 files changed
+353
-2
lines changed- src/js
- __tests__
4 files changed
+353
-2
lines changed
0 commit comments