diff --git a/desktop/src/components/browser/BrowserAddressBar.test.tsx b/desktop/src/components/browser/BrowserAddressBar.test.tsx
index e6c6cc3a..7db901b0 100644
--- a/desktop/src/components/browser/BrowserAddressBar.test.tsx
+++ b/desktop/src/components/browser/BrowserAddressBar.test.tsx
@@ -1,5 +1,5 @@
-import { fireEvent, render, screen } from '@testing-library/react'
-import { describe, expect, it, vi } from 'vitest'
+import { cleanup, fireEvent, render, screen } from '@testing-library/react'
+import { afterEach, describe, expect, it, vi } from 'vitest'
import '@testing-library/jest-dom'
import { BrowserAddressBar } from './BrowserAddressBar'
@@ -8,6 +8,10 @@ const baseProps = {
onNavigate: vi.fn(), onBack: vi.fn(), onForward: vi.fn(), onReload: vi.fn(),
}
+afterEach(() => {
+ cleanup()
+})
+
describe('BrowserAddressBar', () => {
it('shows the current url in the input', () => {
render(