Skip to content

Commit

Permalink
fix: linters
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-defi committed Dec 17, 2024
1 parent 4d6f7a0 commit d3ea6ce
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/wallet/components/WalletDropdown.test.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import '@testing-library/jest-dom';
import {
act,
fireEvent,
render,
renderHook,
screen,
waitFor,
} from '@testing-library/react';
import { type Mock, beforeEach, describe, expect, it, vi } from 'vitest';
import { type Config, useAccount, WagmiProvider } from 'wagmi';
import { useAccount } from 'wagmi';
import { Identity } from '../../identity/components/Identity';
import {
IdentityProvider,
@@ -17,7 +16,7 @@ import {

import { useBreakpoints } from '../../ui/react/internal/hooks/useBreakpoints';
import { WalletDropdown } from './WalletDropdown';
import { useWalletContext, WalletProvider } from './WalletProvider';
import { useWalletContext } from './WalletProvider';

vi.mock('wagmi', () => ({
useAccount: vi.fn().mockReturnValue({ address: '0x123' }),
1 change: 0 additions & 1 deletion src/wallet/components/WalletProvider.test.tsx
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@ import { act, render, renderHook } from '@testing-library/react';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { type Config, WagmiProvider } from 'wagmi';
import { WalletProvider, useWalletContext } from './WalletProvider';
import React from 'react';

vi.mock('wagmi', () => ({
useAccount: vi.fn().mockReturnValue({ address: null }),

0 comments on commit d3ea6ce

Please sign in to comment.