diff --git a/src/internal/components/MobileTray.test.tsx b/src/internal/components/MobileTray.test.tsx index 99e5dc6e9e..99d481bb2f 100644 --- a/src/internal/components/MobileTray.test.tsx +++ b/src/internal/components/MobileTray.test.tsx @@ -1,5 +1,5 @@ -import { render, screen, fireEvent } from '@testing-library/react'; -import { describe, it, expect, vi } from 'vitest'; +import { fireEvent, render, screen } from '@testing-library/react'; +import { describe, expect, it, vi } from 'vitest'; import { MobileTray } from './MobileTray'; describe('MobileTray', () => { @@ -18,7 +18,9 @@ describe('MobileTray', () => { it('renders overlay when open', () => { render(); - expect(screen.getByRole('presentation')).toHaveClass('bg-black bg-opacity-20'); + expect(screen.getByRole('presentation')).toHaveClass( + 'bg-black bg-opacity-20', + ); }); it('does not render overlay when closed', () => { diff --git a/src/wallet/components/WalletAdvancedContent.test.tsx b/src/wallet/components/WalletAdvancedContent.test.tsx index bdc4d61b5f..b898593ee3 100644 --- a/src/wallet/components/WalletAdvancedContent.test.tsx +++ b/src/wallet/components/WalletAdvancedContent.test.tsx @@ -1,14 +1,14 @@ import type { SwapDefaultReact } from '@/swap/types'; +import { useBreakpoints } from '@/ui-react/internal/hooks/useBreakpoints'; import { fireEvent, render, screen } from '@testing-library/react'; import { beforeEach, describe, expect, it, vi } from 'vitest'; import { WalletAdvancedContent } from './WalletAdvancedContent'; import { useWalletAdvancedContext } from './WalletAdvancedProvider'; import { useWalletContext } from './WalletProvider'; -import { useBreakpoints } from '@/ui-react/internal/hooks/useBreakpoints'; vi.mock('../../ui/react/internal/hooks/useBreakpoints', () => ({ useBreakpoints: vi.fn(), -})) +})); vi.mock('../../core-react/internal/hooks/useTheme', () => ({ useTheme: vi.fn(),