implement service worker events

This commit is contained in:
Sebastian Velez
2023-01-20 13:23:52 -05:00
parent 017fc7f92f
commit e018b53f55
4 changed files with 71 additions and 0 deletions

View File

@@ -2,6 +2,16 @@ import React from 'react';
import { renderWithProviders } from '../utils/test-utils';
import MainList from './MainList';
jest.mock('webextension-polyfill', () => {
return {
runtime: {
getManifest: () => {
return { version: 'test-version' };
},
},
};
});
describe('MainList', () => {
let loggingEnabled: boolean;
let totalTimeLoggedToday: string;