fix test files
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Browser } from 'webextension-polyfill';
|
||||
import config from './config';
|
||||
|
||||
jest.mock<typeof import('webextension-polyfill')>('webextension-polyfill', () => {
|
||||
@@ -7,7 +8,7 @@ jest.mock<typeof import('webextension-polyfill')>('webextension-polyfill', () =>
|
||||
return { version: 'test-version' };
|
||||
},
|
||||
},
|
||||
};
|
||||
} as Browser;
|
||||
});
|
||||
|
||||
describe('wakatime config', () => {
|
||||
@@ -68,6 +69,7 @@ describe('wakatime config', () => {
|
||||
"tiktok.com",
|
||||
"twitter.com",
|
||||
"whatsapp.com",
|
||||
"x.com",
|
||||
"youtube.com",
|
||||
],
|
||||
"states": [
|
||||
|
||||
Reference in New Issue
Block a user