Skip to content

Commit

Permalink
refactor: rewrite mock
Browse files Browse the repository at this point in the history
  • Loading branch information
schmanu committed Jun 11, 2024
1 parent b1ad4c3 commit 8432a49
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ const mockChain = chainBuilder()
jest.mock('@/hooks/useChains', () => ({
__esModule: true,
...jest.requireActual('@/hooks/useChains'),
useCurrentChain: jest.fn(() => {
return mockChain
}),
useCurrentChain: jest.fn(() => mockChain),
useHasFeature: jest.fn(),
}))

Expand Down

0 comments on commit 8432a49

Please sign in to comment.