chore: enable disable logging

This commit is contained in:
Sebastian Velez
2023-01-16 14:21:47 -05:00
parent 949fff2cf7
commit ca5f25c4a3
11 changed files with 121 additions and 113 deletions

View File

@@ -1,4 +1,11 @@
import '@testing-library/jest-dom/extend-expect';
import chrome from 'sinon-chrome';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
window.chrome = chrome;
chrome.runtime.id = 'testid'; // https://github.com/mozilla/webextension-polyfill/issues/218#issuecomment-584936358
class BrowserMock {
runtime = {