diff --git a/src/background.ts b/src/background.ts index 75adc661..68432e87 100644 --- a/src/background.ts +++ b/src/background.ts @@ -60,14 +60,6 @@ browser.tabs.onUpdated.addListener(async (tabId, changeInfo) => { } }); -/** - * Creates IndexedDB - * https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API - */ -self.addEventListener('activate', async () => { - await WakaTimeCore.db(); -}); - browser.runtime.onMessage.addListener(async (request: { task: string }, sender) => { if (request.task === 'handleActivity') { if (!sender.tab?.id) return; diff --git a/src/components/MainList.test.tsx b/src/components/MainList.test.tsx index 11bb98a3..90db6e8c 100644 --- a/src/components/MainList.test.tsx +++ b/src/components/MainList.test.tsx @@ -27,6 +27,27 @@ describe('MainList', () => { expect(container).toMatchInlineSnapshot(`