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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user