fix[desktop]: deeplink ui repeat on refresh (#6469)

Signed-off-by: Yelsin Sepulveda <yelsinsepulveda@gmail.com>
Co-authored-by: Zane Staggs <zane@squareup.com>
This commit is contained in:
Yelsin Sepulveda
2026-01-15 10:39:02 -05:00
committed by GitHub
parent 7c3f41e977
commit 5e815e2a3e
2 changed files with 39 additions and 2 deletions
@@ -19,6 +19,13 @@ const mockElectron = {
(window as any).electron = mockElectron;
vi.mock('./ConfigContext', () => ({
useConfig: () => ({
extensionsList: [],
getExtensions: vi.fn().mockResolvedValue([]),
}),
}));
describe('ExtensionInstallModal', () => {
const mockAddExtension = vi.fn();
const mockSetView = vi.fn();