diff --git a/packages/bridge/src/__tests__/utils.test.tsx b/packages/bridge/src/__tests__/utils.test.tsx index 19fa639..f2ed50d 100644 --- a/packages/bridge/src/__tests__/utils.test.tsx +++ b/packages/bridge/src/__tests__/utils.test.tsx @@ -10,8 +10,8 @@ vi.mock('@portkey/contracts', () => ({ getContractBasic: vi.fn(), })); // Mock components and dependencies -vi.mock('../ui', () => ({ - default: () =>
SignInModal Component
, +vi.mock('@ant-design/icons/lib/components/Context', () => ({ + default: (p: { children: React.ReactNode }) =>
{p.children}
, })); describe('getCaContractBase()', () => {