From 546e3f54a7c42545ba8eeaf68c0757d1c2dc804c Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 1 Nov 2023 20:46:42 +0000 Subject: [PATCH] Add useEnsAddress mock function --- test/__mocks__/wagmi.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/__mocks__/wagmi.ts b/test/__mocks__/wagmi.ts index 7445e0ea..abcc9806 100644 --- a/test/__mocks__/wagmi.ts +++ b/test/__mocks__/wagmi.ts @@ -71,6 +71,12 @@ export function useEnsName() { } } +export function useEnsAddress() { + return { + data: '0x0000000000000000000000000000000000000000' + } +} + export function useBalance() { return { data: { formatted: '0.22', symbol: 'ETH' }