Balances can now be displayed in the desired currency.

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/kumawallet/extension/blob/master/CONTRIBUTING.md
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?
Users could only see their balances in USD.
Issue Number: N/A
What is the new behavior?
Users can choose the currency in which they want to view their balances.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
Visuals of the Changes

@egemenkus Hi, some tests are failing:

><EMAIL_ADDRESS>test
> vitest --reporter=verbose

 DEV  v0.34.2 /Users/r/Desktop/blockcoders/extension

stderr | src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should render
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
The above error occurred in the <TotalBalance> component:

    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:20:39)
    at I18nextProvider (file:///Users/r/Desktop/blockcoders/extension/node_modules/react-i18next/dist/es/I18nextProvider.js:4:19)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

stderr | src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should render total balance
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
The above error occurred in the <TotalBalance> component:

    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:20:39)
    at I18nextProvider (file:///Users/r/Desktop/blockcoders/extension/node_modules/react-i18next/dist/es/I18nextProvider.js:4:19)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

stderr | src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should hide balance
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
The above error occurred in the <TotalBalance> component:

    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:20:39)
    at I18nextProvider (file:///Users/r/Desktop/blockcoders/extension/node_modules/react-i18next/dist/es/I18nextProvider.js:4:19)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

stderr | src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should update account name
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
The above error occurred in the <TotalBalance> component:

    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:20:39)
    at I18nextProvider (file:///Users/r/Desktop/blockcoders/extension/node_modules/react-i18next/dist/es/I18nextProvider.js:4:19)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

stderr | src/providers/assetProvider/AssetProvider.test.tsx > AssetProvider > wasm assets > should load assests
react-i18next:: You will need to pass in an i18next instance by using initReactI18next

 ✓ src/storage/entities/keyrings/hd/EVMKeyring.test.ts (8) 770ms
   ✓ EVMKeyring (8) 767ms
     ✓ should return next account path
     ✓ should return address 358ms
     ✓ get key (2)
       ✓ should return key
       ✓ should throw error if key pair not found
     ✓ should return json object
     ✓ should throw error if mnemonic is invalid
     ✓ should derive key pair
     ✓ should return json object
 ✓ src/pages/balance/components/ChainSelector.test.tsx (2) 1182ms
   ✓ ChainSelector (2) 1182ms
     ✓ should render 795ms
     ✓ should change account 375ms
 ✓ src/pages/accountForm/AccountForm.test.tsx (5) 918ms
   ✓ AccountForm (5) 918ms
     ✓ import account (1) 521ms
       ✓ should render 515ms
     ✓ create account (2) 327ms
       ✓ should render
       ✓ should submit
     ✓ restore password (1)
       ✓ should render
     ✓ derive account (1)
       ✓ should render
 ✓ src/pages/send/components/WasmForm.test.tsx (3) 3533ms
   ✓ WasmForm (3) 3532ms
     ✓ should call confirmTx 1367ms
     ✓ should call confirmTx with created asset 1088ms
     ✓ should call confirmTx with xcm 1075ms
 ❯ src/pages/settings/General.test.tsx (3) 21181ms
   ❯ General (3) 21180ms
     × should render 10024ms
     × should call showTestnets 10069ms
     × should call "manage networks" 1081ms
 ✓ src/providers/authProvider/AuthProvider.test.tsx (12) 656ms
   ✓ AuthProvider (12) 656ms
     ✓ reducer
     ✓ createAccount (2)
       ✓ should return true
       ✓ should return seed_required error
     ✓ importAccount (4)
       ✓ should return true
       ✓ should return password_required error
       ✓ should return private_key_or_seed_required error
       ✓ should return account_type_required error
     ✓ deriveAccount (2)
       ✓ should return true
       ✓ should return account_type_required error
     ✓ restoreAccount (3)
       ✓ should return true
       ✓ should return recovery_phrase_required error
       ✓ should return password_required error
 ✓ src/providers/networkProvider/NetworkProvider.test.tsx (17) 716ms
   ✓ NetworkProvider (17) 715ms
     ✓ reducer (8)
       ✓ init
       ✓ select-network (3)
         ✓ with rpc and type
         ✓ without rpc
         ✓ without type
       ✓ set-api (3)
         ✓ with rpc
         ✓ without rpc
         ✓ default
       ✓ refresh-networks (1)
         ✓ should refresh networks
     ✓ useEffect (2)
       ✓ should init
       ✓ should show error
     ✓ setSelectedNetwork (2)
       ✓ should set new evm chain
       ✓ should show error
     ✓ getSelectedNetwork (2)
       ✓ should getSelectedNetwork
       ✓ should show error
     ✓ setNewRpc (1)
       ✓ should keep the current rpc
     ✓ refreshNetworks (2)
       ✓ should refresh networks
       ✓ should show error
 ✓ src/providers/accountProvider/AccountProvider.test.tsx (9) 597ms
   ✓ AccountProvider (9) 596ms
     ✓ reducer (2)
       ✓ should set accounts
       ✓ should update account name
     ✓ should create account
     ✓ should import account
     ✓ should derive account
     ✓ should call get selected account
     ✓ should call get all accounts
     ✓ should change account name
     ✓ should set selected account
 ❯ src/pages/balance/components/TotalBalance.test.tsx (4)
   ❯ TotalBalance (4)
     × should render
     × should render total balance
     × should hide balance
     × should update account name
 ✓ src/pages/send/components/SelectableAsset.test.tsx (3) 689ms
   ✓ SelectableAsset (3) 689ms
     ✓ should render
     ✓ should render all assets
     ✓ should call change asset
 ✓ src/pages/signMessage/SignMessage.test.tsx (2) 574ms
   ✓ SignMessage (2) 573ms
     ✓ should sign evm message 343ms
     ✓ should sign wasm message
 ✓ src/pages/manageAssets/ManageAssets.test.tsx (3) 710ms
   ✓ ManageAssets (3) 709ms
     ✓ should render evm
     ✓ should fill the form and submit 313ms
     ✓ should show error on submit
 ✓ src/pages/settings/Contacts.test.tsx (3) 817ms
   ✓ Contacts (3) 817ms
     ✓ should render 448ms
     ✓ should show no contacts
     ✓ should create contact
 ✓ src/pages/send/components/ConfirmTx.test.tsx (2) 562ms
   ✓ ConfirmTx (2) 562ms
     ✓ should render correctly 361ms
     ✓ should call onConfirm when confirm button is clicked
 ✓ src/pages/send/components/EvmForm.test.tsx (3) 509ms
   ✓ EvmForm (3) 508ms
     ✓ should call confirmTx with native asset 383ms
     ✓ should call confirmTx with erc20 asset
     ✓ should return error calculating gas fee
 ✓ src/pages/send/components/Destination.test.tsx (2) 703ms
   ✓ Destination (2) 703ms
     ✓ should render options 399ms
     ✓ should filter
 ✓ src/pages/welcome/Welcome.test.tsx (2) 469ms
   ✓ Welcome (2) 468ms
     ✓ should render 336ms
     ✓ should call goToAccount function
 ✓ src/pages/balance/components/AccountList.test.tsx (1)
   ✓ AccountList (1)
     ✓ should render accounts
 ✓ src/pages/balance/components/Assets.test.tsx (1) 374ms
   ✓ Assets (1) 374ms
     ✓ should render assets 372ms
 ✓ src/pages/receive/Receive.test.tsx (2)
   ✓ Receive (2)
     ✓ should render
     ✓ should copy to clipboard
 ✓ src/pages/addAccount/AddAccount.test.tsx (2) 433ms
   ✓ AddAccount (2) 431ms
     ✓ should render
     ✓ should open new tab
 ✓ src/pages/signIn/SignIn.test.tsx (3) 403ms
   ✓ SignIn (3) 403ms
     ✓ should render
     ✓ should sign in
     ✓ should go to forgot password
 ✓ src/storage/entities/keyrings/imported/ImportedEVMKeyring.test.ts (4)
   ✓ ImportedEVMKeyring (4)
     ✓ getImportedData
     ✓ fromJSON
     ✓ getKey (2)
       ✓ should return key
       ✓ should throw error
 ✓ src/pages/settings/Security.test.tsx (2) 463ms
   ✓ Security (2) 463ms
     ✓ should render
     ✓ should show sites
 ✓ src/pages/balance/components/Activity.test.tsx (2) 360ms
   ✓ Actvity (2) 359ms
     ✓ should render
     ✓ should filter by network
 ✓ src/pages/balance/components/AccountSelected.test.tsx (2)
   ✓ AccountSelected (2)
     ✓ should render selectedAccount
     ✓ should copy account
 ✓ src/pages/send/components/SelectableChain.test.tsx (2)
   ✓ SelectableChain (2)
     ✓ should render
     ✓ should render null
 ✓ src/providers/assetProvider/AssetProvider.test.tsx (7)
   ✓ AssetProvider (7)
     ✓ reducer (6)
       ✓ should loading assets
       ✓ should end loading
       ✓ should set assets
       ✓ should update assets
       ✓ should update one assets
       ✓ shoudn't update one assets
     ✓ wasm assets (1)
       ✓ should load assests
 ✓ src/pages/send/components/Fees.test.tsx (2)
   ✓ Fees (2)
     ✓ should render native assets fees
     ✓ should render no native assets fees
 ✓ src/pages/settings/AboutUs.test.tsx (1)
   ✓ AboutUs (1)
     ✓ should render
 ✓ src/storage/entities/keyrings/hd/WASMKeyring.test.ts (5)
   ✓ WASMKeyring (5)
     ✓ should return next account path
     ✓ should return address
     ✓ get key (2)
       ✓ should return key
       ✓ should throw error if key pair not found
     ✓ should return json object
 ✓ src/pages/settings/BugReport.test.tsx (1)
   ✓ BugReport (1)
     ✓ should render
 ✓ src/providers/txProvider/TxProvider.test.tsx (2)
   ✓ TxProvider (2)
     ✓ should load wasm activity
     ✓ should load evm activity
 ✓ src/hooks/common/useLoading.test.tsx (2)
   ✓ useLoading (2)
     ✓ should set isLoading to true
     ✓ should set isLoading to false
 ✓ src/Extension.test.ts (66)
   ✓ Extension (66)
     ✓ validatePasswordFormat (3)
       ✓ should be valid
       ✓ should return password_required error
       ✓ should return password_invalid error
     ✓ validatePrivateKeyOrSeedFormat (3)
       ✓ should be valid
       ✓ should return private_key_or_seed_required error
       ✓ should return private_key_or_seed_invalid error
     ✓ signUp (2)
       ✓ should signUp
       ✓ should throw error
     ✓ should be authorized
     ✓ createAccounts (2)
       ✓ should create accounts
       ✓ should create accounts with isSignUp in false
     ✓ importAccount (2)
       ✓ should import account
       ✓ should import account with isSignUp in false
     ✓ should restore password
     ✓ should remove key
     ✓ should change name
     ✓ resetWallet (2)
       ✓ should reset wallet
       ✓ should throw error
     ✓ signIn
     ✓ should be signed up
     ✓ areAccountsInitialized (3)
       ✓ should true
       ✓ should return false
       ✓ should return with catch error false
     ✓ should sign out
     ✓ should session be active
     ✓ showKey (2)
       ✓ should return key
       ✓ should return undefined
     ✓ get account
     ✓ getAllAccounts (2)
       ✓ should return all accounts
       ✓ should return empty array
     ✓ should derive account
     ✓ should set network
     ✓ should return selected account
     ✓ should return selected network
     ✓ should get network
     ✓ getGeneralSettings (2)
       ✓ should return general settings
       ✓ should return error
     ✓ getAdvancedSettings (2)
       ✓ should return general settings
       ✓ should return error
     ✓ getSetting (2)
       ✓ should return general settings
       ✓ should return error
     ✓ updateSetting (2)
       ✓ should return settings
       ✓ should return error
     ✓ getContacts (2)
       ✓ should return contacts
       ✓ should return error
     ✓ getRegistryAddresses (4)
       ✓ should return registry addresses
       ✓ should return registry error
       ✓ should return network error
       ✓ should return network error
     ✓ save contact (1)
       ✓ should save contact
     ✓ removeContact
     ✓ getActivity
     ✓ getAllChains (2)
       ✓ should return all chains
       ✓ should return error
     ✓ saveCustomChain
     ✓ removeCustomChain
     ✓ getXCMChains (3)
       ✓ should return xcm chains
       ✓ should return chain error
       ✓ should return chains error
     ✓ addActivity
     ✓ updateActivity
     ✓ addAsset
     ✓ getAssetsByChain
     ✓ getTrustedSites
     ✓ addTrustedSite
     ✓ removeTrustedSite
 ✓ src/hooks/common/useToast.test.tsx (2)
   ✓ useToast (2)
     ✓ showErrorToast
     ✓ showSuccessToast
 ✓ src/storage/entities/settings/CurrencySetting.test.ts (2)
   ✓ CurrencySettings (2)
     ✓ should get default currency
     ✓ should get all languages
 ✓ src/accounts/AccountManager.test.ts (20)
   ✓ AccountManager (20)
     ✓ formatAddress (2)
       ✓ should format evm account
       ✓ should return the same address
     ✓ should get valid name
     ✓ should create account
     ✓ addAccount (1)
       ✓ should return created account
     ✓ importAccount (1)
       ✓ should add imported evm account
     ✓ derive (2)
       ✓ should return derived account
       ✓ should throw error
     ✓ getAccount (2)
       ✓ should return account by key
       ✓ should show error
     ✓ changeName (2)
       ✓ should change name
       ✓ should return error
     ✓ getAll (2)
       ✓ shoudl return all wasm accounts
       ✓ shoudl return undefined
     ✓ areAccountsInitialized (1)
       ✓ should return true
     ✓ saveBackup (3)
       ✓ should save backup
       ✓ should throw recovery_phrase_required error
       ✓ should throw invalid_recovery_phrase error
     ✓ restorePassword (2)
       ✓ should restore password
       ✓ should throw backup_not_found error
 ✓ src/storage/entities/Network.test.ts (5)
   ✓ Network (5)
     ✓ should instance
     ✓ should init
     ✓ should return default value
     ✓ should set new chain
     ✓ should set new chain without static methods
 ✓ src/storage/entities/TrustedSites.test.ts (13)
   ✓ Trusted Sites (13)
     ✓ should instance
     ✓ should get default value
     ✓ should init
     ✓ get all (2)
       ✓ should get all
       ✓ should throw error
     ✓ add site (2)
       ✓ should add site
       ✓ should throw error
     ✓ remove site (2)
       ✓ should remove site
       ✓ should throw error
     ✓ add site (2)
       ✓ should add site
       ✓ should throw error
     ✓ remove site (2)
       ✓ should remove site
       ✓ should throw error
 ✓ src/storage/entities/Accounts.test.ts (18)
   ✓ Account (18)
     ✓ should instance
     ✓ should init
     ✓ should update
     ✓ removeAccout (2)
       ✓ should remove account
       ✓ should return error
     ✓ add (3)
       ✓ should add account
       ✓ should return  failed_to_add_account error
       ✓ should return  failed_to_add_account error
     ✓ should return isEmpty as true
     ✓ should add account
     ✓ should remove account
     ✓ get (2)
       ✓ should return account value by key
       ✓ should return undefined
     ✓ should getAll
     ✓ should update
     ✓ should return false alreadyExists
     ✓ first (2)
       ✓ should return first account
       ✓ should return undefined
 ✓ src/tests/utils/assets.test.ts (15)
   ✓ assets (15)
     ✓ getNatitveAssetBalance (5)
       ✓ should use polkadot api
       ✓ should use ethereum api
       ✓ should return same amount
       ✓ should return same amount
       ✓ should throw error
     ✓ should format amount with decimals
     ✓ should return 0
     ✓ should format bn
     ✓ should format bn, returning 0
     ✓ should format usd amount
     ✓ get asset USD price (3)
       ✓ should return eth price
       ✓ should return 0
       ✓ should throw error
     ✓ getWasmAssets (2)
       ✓ get assets
       ✓ get assets Astar case
 ✓ src/storage/entities/registry/Registry.test.ts (21)
   ✓ Registry (21)
     ✓ should instance
     ✓ shoud get default value
     ✓ should init
     ✓ add contact (2)
       ✓ should add contact
       ✓ should throw error
     ✓ get contact (2)
       ✓ should get contact
       ✓ should throw error
     ✓ change contact name (3)
       ✓ should change contact name
       ✓ should throw registry error
       ✓ should throw contract error
     ✓ remove contact (2)
       ✓ should remove contact
       ✓ should throw registry error
     ✓ add recent (2)
       ✓ should add recent
       ✓ should throw registry error
     ✓ get recent (2)
       ✓ should get recent
       ✓ should throw registry error
     ✓ should add contact
     ✓ get contact
     ✓ add recent
     ✓ get recent
     ✓ get all contacts
 ✓ src/storage/Auth.test.ts (19)
   ✓ Auth (19)
     ✓ should instance
     ✓ should return isUnlocked
     ✓ should return password
     ✓ should return isSessionActive
     ✓ should return isSessionActive
     ✓ should return false if there is no password
     ✓ should return true if there is a password
     ✓ loadAuthFromCache (2)
       ✓ should set isUnlocked from cache
       ✓ should signOut
     ✓ decryptVault
     ✓ encryptVault
     ✓ signIn (2)
       ✓ should signIn
       ✓ should throw decrypt error
     ✓ encryptBackup (2)
       ✓ should return encrypted backup
       ✓ should return error
     ✓ decryptBackup (2)
       ✓ should return encrypted backup
       ✓ should return error
     ✓ restorePassword (2)
       ✓ should return password
       ✓ should throw error
 ✓ src/storage/entities/activity/Activity.test.ts (14)
   ✓ Activity (14)
     ✓ shoud instance
     ✓ should init
     ✓ addRecord (3)
       ✓ should add record
       ✓ should throw Activity.get error
       ✓ should throw SelectedAccount.get error
     ✓ getRecords (3)
       ✓ should throw SelectedAccount.get error
       ✓ should throw Activity.get error
       ✓ should throw Activity.get error
     ✓ update record status (4)
       ✓ should update record status
       ✓ should throw SelectedAccount.get error
       ✓ should throw Activity.get error
       ✓ should throw activity.data error
     ✓ add record
     ✓ get records
 ✓ src/storage/entities/Assets.test.ts (8)
   ✓ Assets (8)
     ✓ should instance
     ✓ should return default value
     ✓ should init
     ✓ getByChain (2)
       ✓ should get by chain
       ✓ should show error
     ✓ addAsset (3)
       ✓ should add asset
       ✓ should add new asset in existing chain
       ✓ should throw error when asset already added
 ✓ src/tests/utils/accounts-utils.test.ts (9)
   ✓ account-utils (9)
     ✓ cropAccount (2)
       ✓ should return cropAccount
       ✓ should return empty
     ✓ formatAccount (2)
       ✓ should format EVM account
       ✓ should format WASM account
     ✓ formatAddress (3)
       ✓ format ROCOCO format to x format
       ✓ should return the same EVM Account
       ✓ should return empty
     ✓ getAccountType (2)
       ✓ should format imported account type
       ✓ should return the same account type
 ✓ src/storage/Storage.test.ts (4)
   ✓ Storage (4)
     ✓ should instance
     ✓ init (2)
       ✓ should init
       ✓ should throw already_signed_up error
     ✓ reset wallet
 ✓ src/storage/entities/Vault.test.ts (15)
   ✓ Vault (15)
     ✓ init (3)
       ✓ should init keyrings
       ✓ should throw vault_not_found error by Storage error
       ✓ should throw vault_not_found error by Auth error
     ✓ alreadySignedUp (2)
       ✓ should return true
       ✓ should return undefined
     ✓ getEncryptedVault (2)
       ✓ should return stored
       ✓ should return undefined
     ✓ set
     ✓ should save keyring
     ✓ getKeyring (3)
       ✓ should return keyring
       ✓ should call addHDKeyring
       ✓ should throw error
     ✓ addHDKeyring (2)
       ✓ should add WASM hd keyring
       ✓ should add EVM hd keyring
     ✓ is invalid
 ✓ src/storage/entities/Chains.test.ts (19)
   ✓ Chains (19)
     ✓ should instance
     ✓ get instance (2)
       ✓ should return instance
       ✓ should return same instance
     ✓ shoud init
     ✓ should return default value
     ✓ load chains (2)
       ✓ should load chains
       ✓ should throw error
     ✓ save custom chain (3)
       ✓ should chain_already_added throw error
       ✓ should throw failed_to_save_custom_chain error
       ✓ should chain_already_added throw error
     ✓ remove custom chain (2)
       ✓ remove custom chain
       ✓ should throw error
     ✓ get by chain (5)
       ✓ should return in mainnets
       ✓ should return in testnets
       ✓ should return in custom
       ✓ should return undefined
       ✓ should throw failed_to_get_chain_by_name
     ✓ should get all
     ✓ should already addes
 ✓ src/tests/utils/utils.test.ts (3)
   ✓ utils (3)
     ✓ should return formatted date
     ✓ should parse query
     ✓ should make querys
 ✓ src/storage/entities/Backup.test.ts (2)
   ✓ Backup (2)
     ✓ should instance
     ✓ should init
 ✓ src/storage/entities/settings/Settings.test.ts (13)
   ✓ Settings (13)
     ✓ should instance
     ✓ should init
     ✓ should be empty
     ✓ should add to general
     ✓ should add to advanced
     ✓ should add to security
     ✓ should get from general
     ✓ should get from advanced
     ✓ should get from security
     ✓ get
     ✓ get all
     ✓ update
     ✓ allready exists
 ✓ src/storage/entities/SelectedAccount.test.ts (2)
   ✓ SelectedAccount (2)
     ✓ fromAccount
     ✓ getDefaultValue
 ✓ src/storage/entities/registry/Register.test.ts (1)
   ✓ Register (1)
     ✓ should create register
 ✓ src/storage/entities/BaseEntity.test.ts (7)
   ✓ BaseEntity (7)
     ✓ should init
     ✓ getDefaultValue
     ✓ fromData
     ✓ get (2)
       ✓ should return stored data
       ✓ should return undefined
     ✓ set
     ✓ remove
 ✓ src/storage/entities/settings/LangaugeSetting.test.ts (2)
   ✓ LanguageSettings (2)
     ✓ should get default language
     ✓ should get all languages
 ✓ src/storage/entities/registry/Contact.test.ts (1)
   ✓ Contact (1)
     ✓ should create contact
 ✓ src/storage/entities/settings/Setting.test.ts (7)
   ✓ Setting (7)
     ✓ should instance
     ✓ should format name
     ✓ should return string true
     ✓ should return number
     ✓ should return boolean
     ✓ should return object
     ✓ should return language array
 ✓ src/storage/entities/keyrings/imported/ImportedWASMKeyring.test.ts (2)
   ✓ ImportedWASMKeyring (2)
     ✓ getImportedData
     ✓ fromJSON
 ✓ src/storage/entities/CacheAuth.test.ts (5)
   ✓ CacheAuth (5)
     ✓ should instance
     ✓ shoud filled entity
     ✓ hasExpired (2)
       ✓ should return hasExpired as false
       ✓ should return hasExpired as true
     ✓ unlock (1)
       ✓ should unlock
 ✓ src/storage/entities/Account.test.ts (1)
   ✓ Account (1)
     ✓ sholuld instance

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 FAIL  src/pages/settings/General.test.tsx > General > should render
Error: Test timed out in 10000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/7]⎯

 FAIL  src/pages/settings/General.test.tsx > General > should call showTestnets
TestingLibraryElementError: Unable to find an element by: [data-testid="language-select"]

Ignored nodes: comments, script, style
<body>
  <div>
    <div
      class="flex py-6 px-4 "
    >
      <div
        class="max-w-3xl w-full mx-auto md:px-10 h-full"
      >
        <div
          class="flex items-center gap-3 mb-10"
        >
          <svg
            class="cursor-pointer"
            fill="none"
            height="26"
            stroke="currentColor"
            stroke-linecap="round"
            stroke-linejoin="round"
            stroke-width="2"
            viewBox="0 0 24 24"
            width="26"
            xmlns="http://www.w3.org/2000/svg"
          >
            <polyline
              points="15 18 9 12 15 6"
            />
          </svg>
          <p
            class="font-medium text-2xl"
          >
            General
          </p>
        </div>
        <div
          class="flex flex-col gap-5"
        />
      </div>
    </div>
  </div>
</body>

Ignored nodes: comments, script, style
<html>
  <head />
  <body>
    <div>
      <div
        class="flex py-6 px-4 "
      >
        <div
          class="max-w-3xl w-full mx-auto md:px-10 h-full"
        >
          <div
            class="flex items-center gap-3 mb-10"
          >
            <svg
              class="cursor-pointer"
              fill="none"
              height="26"
              stroke="currentColor"
              stroke-linecap="round"
              stroke-linejoin="round"
              stroke-width="2"
              viewBox="0 0 24 24"
              width="26"
              xmlns="http://www.w3.org/2000/svg"
            >
              <polyline
                points="15 18 9 12 15 6"
              />
            </svg>
            <p
              class="font-medium text-2xl"
            >
              General
            </p>
          </div>
          <div
            class="flex flex-col gap-5"
          />
        </div>
      </div>
    </div>
  </body>
</html>
 ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:160:27
 ❯ src/pages/settings/General.test.tsx:66:11
     64|     const { getByTestId } = renderComponent();
     65|
     66|     await waitFor(() => {
       |           ^
     67|       expect(getByTestId("language-select")).toBeDefined();
     68|     }, {

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/7]⎯

 FAIL  src/pages/settings/General.test.tsx > General > should call "manage networks"
TestingLibraryElementError: Unable to find an element by: [data-testid="manage-networks-button"]

Ignored nodes: comments, script, style
<body>
  <div>
    <div
      class="flex py-6 px-4 "
    >
      <div
        class="max-w-3xl w-full mx-auto md:px-10 h-full"
      >
        <div
          class="flex items-center gap-3 mb-10"
        >
          <svg
            class="cursor-pointer"
            fill="none"
            height="26"
            stroke="currentColor"
            stroke-linecap="round"
            stroke-linejoin="round"
            stroke-width="2"
            viewBox="0 0 24 24"
            width="26"
            xmlns="http://www.w3.org/2000/svg"
          >
            <polyline
              points="15 18 9 12 15 6"
            />
          </svg>
          <p
            class="font-medium text-2xl"
          >
            General
          </p>
        </div>
        <div
          class="flex flex-col gap-5"
        />
      </div>
    </div>
  </div>
</body>

Ignored nodes: comments, script, style
<html>
  <head />
  <body>
    <div>
      <div
        class="flex py-6 px-4 "
      >
        <div
          class="max-w-3xl w-full mx-auto md:px-10 h-full"
        >
          <div
            class="flex items-center gap-3 mb-10"
          >
            <svg
              class="cursor-pointer"
              fill="none"
              height="26"
              stroke="currentColor"
              stroke-linecap="round"
              stroke-linejoin="round"
              stroke-width="2"
              viewBox="0 0 24 24"
              width="26"
              xmlns="http://www.w3.org/2000/svg"
            >
              <polyline
                points="15 18 9 12 15 6"
              />
            </svg>
            <p
              class="font-medium text-2xl"
            >
              General
            </p>
          </div>
          <div
            class="flex flex-col gap-5"
          />
        </div>
      </div>
    </div>
  </body>
</html>
 ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:160:27
 ❯ src/pages/settings/General.test.tsx:90:11
     88|     const { getByTestId } = renderComponent();
     89|
     90|     await waitFor(() => {
       |           ^
     91|       expect(getByTestId("manage-networks-button")).toBeDefined();
     92|     });

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/7]⎯

 FAIL  src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should render
 FAIL  src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should render total balance
 FAIL  src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should hide balance
 FAIL  src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should update account name
Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

 ❯ TotalBalance src/pages/balance/components/TotalBalance.tsx:40:7
     38|   const {
     39|     state: { api, selectedChain },
     40|   } = useNetworkContext();
       |       ^
     41|
     42|   const updateAllAssets = async () => {
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/7]⎯

 Test Files  2 failed | 60 passed (62)
      Tests  7 failed | 413 passed (420)
   Start at  14:31:20
   Duration  39.29s (transform 4.35s, setup 22.54s, collect 49.06s, tests 40.92s, environment 33.83s, prepare 13.91s)

 FAIL  Tests failed. Watching for file changes...
       press h to show help, press q to quit

@egemenkus Hi, some tests are failing:

><EMAIL_ADDRESS>test
> vitest --reporter=verbose

 DEV  v0.34.2 /Users/r/Desktop/blockcoders/extension

stderr | src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should render
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
The above error occurred in the <TotalBalance> component:

    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:20:39)
    at I18nextProvider (file:///Users/r/Desktop/blockcoders/extension/node_modules/react-i18next/dist/es/I18nextProvider.js:4:19)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

stderr | src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should render total balance
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
The above error occurred in the <TotalBalance> component:

    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:20:39)
    at I18nextProvider (file:///Users/r/Desktop/blockcoders/extension/node_modules/react-i18next/dist/es/I18nextProvider.js:4:19)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

stderr | src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should hide balance
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
The above error occurred in the <TotalBalance> component:

    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:20:39)
    at I18nextProvider (file:///Users/r/Desktop/blockcoders/extension/node_modules/react-i18next/dist/es/I18nextProvider.js:4:19)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

stderr | src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should update account name
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
Error: Uncaught [Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})
]
    at reportException (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

    at VitestMocker.createError (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:80:12)
    at Object.get (file:///Users/r/Desktop/blockcoders/extension/node_modules/vitest/dist/vendor-execute.4fc8203a.js:153:22)
    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:40:7)
    at renderWithHooks (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at HTMLUnknownElement.callCallback (/Users/r/Desktop/blockcoders/extension/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/Users/r/Desktop/blockcoders/extension/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
The above error occurred in the <TotalBalance> component:

    at TotalBalance (/Users/r/Desktop/blockcoders/extension/src/pages/balance/components/TotalBalance.tsx:20:39)
    at I18nextProvider (file:///Users/r/Desktop/blockcoders/extension/node_modules/react-i18next/dist/es/I18nextProvider.js:4:19)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

stderr | src/providers/assetProvider/AssetProvider.test.tsx > AssetProvider > wasm assets > should load assests
react-i18next:: You will need to pass in an i18next instance by using initReactI18next

 ✓ src/storage/entities/keyrings/hd/EVMKeyring.test.ts (8) 770ms
   ✓ EVMKeyring (8) 767ms
     ✓ should return next account path
     ✓ should return address 358ms
     ✓ get key (2)
       ✓ should return key
       ✓ should throw error if key pair not found
     ✓ should return json object
     ✓ should throw error if mnemonic is invalid
     ✓ should derive key pair
     ✓ should return json object
 ✓ src/pages/balance/components/ChainSelector.test.tsx (2) 1182ms
   ✓ ChainSelector (2) 1182ms
     ✓ should render 795ms
     ✓ should change account 375ms
 ✓ src/pages/accountForm/AccountForm.test.tsx (5) 918ms
   ✓ AccountForm (5) 918ms
     ✓ import account (1) 521ms
       ✓ should render 515ms
     ✓ create account (2) 327ms
       ✓ should render
       ✓ should submit
     ✓ restore password (1)
       ✓ should render
     ✓ derive account (1)
       ✓ should render
 ✓ src/pages/send/components/WasmForm.test.tsx (3) 3533ms
   ✓ WasmForm (3) 3532ms
     ✓ should call confirmTx 1367ms
     ✓ should call confirmTx with created asset 1088ms
     ✓ should call confirmTx with xcm 1075ms
 ❯ src/pages/settings/General.test.tsx (3) 21181ms
   ❯ General (3) 21180ms
     × should render 10024ms
     × should call showTestnets 10069ms
     × should call "manage networks" 1081ms
 ✓ src/providers/authProvider/AuthProvider.test.tsx (12) 656ms
   ✓ AuthProvider (12) 656ms
     ✓ reducer
     ✓ createAccount (2)
       ✓ should return true
       ✓ should return seed_required error
     ✓ importAccount (4)
       ✓ should return true
       ✓ should return password_required error
       ✓ should return private_key_or_seed_required error
       ✓ should return account_type_required error
     ✓ deriveAccount (2)
       ✓ should return true
       ✓ should return account_type_required error
     ✓ restoreAccount (3)
       ✓ should return true
       ✓ should return recovery_phrase_required error
       ✓ should return password_required error
 ✓ src/providers/networkProvider/NetworkProvider.test.tsx (17) 716ms
   ✓ NetworkProvider (17) 715ms
     ✓ reducer (8)
       ✓ init
       ✓ select-network (3)
         ✓ with rpc and type
         ✓ without rpc
         ✓ without type
       ✓ set-api (3)
         ✓ with rpc
         ✓ without rpc
         ✓ default
       ✓ refresh-networks (1)
         ✓ should refresh networks
     ✓ useEffect (2)
       ✓ should init
       ✓ should show error
     ✓ setSelectedNetwork (2)
       ✓ should set new evm chain
       ✓ should show error
     ✓ getSelectedNetwork (2)
       ✓ should getSelectedNetwork
       ✓ should show error
     ✓ setNewRpc (1)
       ✓ should keep the current rpc
     ✓ refreshNetworks (2)
       ✓ should refresh networks
       ✓ should show error
 ✓ src/providers/accountProvider/AccountProvider.test.tsx (9) 597ms
   ✓ AccountProvider (9) 596ms
     ✓ reducer (2)
       ✓ should set accounts
       ✓ should update account name
     ✓ should create account
     ✓ should import account
     ✓ should derive account
     ✓ should call get selected account
     ✓ should call get all accounts
     ✓ should change account name
     ✓ should set selected account
 ❯ src/pages/balance/components/TotalBalance.test.tsx (4)
   ❯ TotalBalance (4)
     × should render
     × should render total balance
     × should hide balance
     × should update account name
 ✓ src/pages/send/components/SelectableAsset.test.tsx (3) 689ms
   ✓ SelectableAsset (3) 689ms
     ✓ should render
     ✓ should render all assets
     ✓ should call change asset
 ✓ src/pages/signMessage/SignMessage.test.tsx (2) 574ms
   ✓ SignMessage (2) 573ms
     ✓ should sign evm message 343ms
     ✓ should sign wasm message
 ✓ src/pages/manageAssets/ManageAssets.test.tsx (3) 710ms
   ✓ ManageAssets (3) 709ms
     ✓ should render evm
     ✓ should fill the form and submit 313ms
     ✓ should show error on submit
 ✓ src/pages/settings/Contacts.test.tsx (3) 817ms
   ✓ Contacts (3) 817ms
     ✓ should render 448ms
     ✓ should show no contacts
     ✓ should create contact
 ✓ src/pages/send/components/ConfirmTx.test.tsx (2) 562ms
   ✓ ConfirmTx (2) 562ms
     ✓ should render correctly 361ms
     ✓ should call onConfirm when confirm button is clicked
 ✓ src/pages/send/components/EvmForm.test.tsx (3) 509ms
   ✓ EvmForm (3) 508ms
     ✓ should call confirmTx with native asset 383ms
     ✓ should call confirmTx with erc20 asset
     ✓ should return error calculating gas fee
 ✓ src/pages/send/components/Destination.test.tsx (2) 703ms
   ✓ Destination (2) 703ms
     ✓ should render options 399ms
     ✓ should filter
 ✓ src/pages/welcome/Welcome.test.tsx (2) 469ms
   ✓ Welcome (2) 468ms
     ✓ should render 336ms
     ✓ should call goToAccount function
 ✓ src/pages/balance/components/AccountList.test.tsx (1)
   ✓ AccountList (1)
     ✓ should render accounts
 ✓ src/pages/balance/components/Assets.test.tsx (1) 374ms
   ✓ Assets (1) 374ms
     ✓ should render assets 372ms
 ✓ src/pages/receive/Receive.test.tsx (2)
   ✓ Receive (2)
     ✓ should render
     ✓ should copy to clipboard
 ✓ src/pages/addAccount/AddAccount.test.tsx (2) 433ms
   ✓ AddAccount (2) 431ms
     ✓ should render
     ✓ should open new tab
 ✓ src/pages/signIn/SignIn.test.tsx (3) 403ms
   ✓ SignIn (3) 403ms
     ✓ should render
     ✓ should sign in
     ✓ should go to forgot password
 ✓ src/storage/entities/keyrings/imported/ImportedEVMKeyring.test.ts (4)
   ✓ ImportedEVMKeyring (4)
     ✓ getImportedData
     ✓ fromJSON
     ✓ getKey (2)
       ✓ should return key
       ✓ should throw error
 ✓ src/pages/settings/Security.test.tsx (2) 463ms
   ✓ Security (2) 463ms
     ✓ should render
     ✓ should show sites
 ✓ src/pages/balance/components/Activity.test.tsx (2) 360ms
   ✓ Actvity (2) 359ms
     ✓ should render
     ✓ should filter by network
 ✓ src/pages/balance/components/AccountSelected.test.tsx (2)
   ✓ AccountSelected (2)
     ✓ should render selectedAccount
     ✓ should copy account
 ✓ src/pages/send/components/SelectableChain.test.tsx (2)
   ✓ SelectableChain (2)
     ✓ should render
     ✓ should render null
 ✓ src/providers/assetProvider/AssetProvider.test.tsx (7)
   ✓ AssetProvider (7)
     ✓ reducer (6)
       ✓ should loading assets
       ✓ should end loading
       ✓ should set assets
       ✓ should update assets
       ✓ should update one assets
       ✓ shoudn't update one assets
     ✓ wasm assets (1)
       ✓ should load assests
 ✓ src/pages/send/components/Fees.test.tsx (2)
   ✓ Fees (2)
     ✓ should render native assets fees
     ✓ should render no native assets fees
 ✓ src/pages/settings/AboutUs.test.tsx (1)
   ✓ AboutUs (1)
     ✓ should render
 ✓ src/storage/entities/keyrings/hd/WASMKeyring.test.ts (5)
   ✓ WASMKeyring (5)
     ✓ should return next account path
     ✓ should return address
     ✓ get key (2)
       ✓ should return key
       ✓ should throw error if key pair not found
     ✓ should return json object
 ✓ src/pages/settings/BugReport.test.tsx (1)
   ✓ BugReport (1)
     ✓ should render
 ✓ src/providers/txProvider/TxProvider.test.tsx (2)
   ✓ TxProvider (2)
     ✓ should load wasm activity
     ✓ should load evm activity
 ✓ src/hooks/common/useLoading.test.tsx (2)
   ✓ useLoading (2)
     ✓ should set isLoading to true
     ✓ should set isLoading to false
 ✓ src/Extension.test.ts (66)
   ✓ Extension (66)
     ✓ validatePasswordFormat (3)
       ✓ should be valid
       ✓ should return password_required error
       ✓ should return password_invalid error
     ✓ validatePrivateKeyOrSeedFormat (3)
       ✓ should be valid
       ✓ should return private_key_or_seed_required error
       ✓ should return private_key_or_seed_invalid error
     ✓ signUp (2)
       ✓ should signUp
       ✓ should throw error
     ✓ should be authorized
     ✓ createAccounts (2)
       ✓ should create accounts
       ✓ should create accounts with isSignUp in false
     ✓ importAccount (2)
       ✓ should import account
       ✓ should import account with isSignUp in false
     ✓ should restore password
     ✓ should remove key
     ✓ should change name
     ✓ resetWallet (2)
       ✓ should reset wallet
       ✓ should throw error
     ✓ signIn
     ✓ should be signed up
     ✓ areAccountsInitialized (3)
       ✓ should true
       ✓ should return false
       ✓ should return with catch error false
     ✓ should sign out
     ✓ should session be active
     ✓ showKey (2)
       ✓ should return key
       ✓ should return undefined
     ✓ get account
     ✓ getAllAccounts (2)
       ✓ should return all accounts
       ✓ should return empty array
     ✓ should derive account
     ✓ should set network
     ✓ should return selected account
     ✓ should return selected network
     ✓ should get network
     ✓ getGeneralSettings (2)
       ✓ should return general settings
       ✓ should return error
     ✓ getAdvancedSettings (2)
       ✓ should return general settings
       ✓ should return error
     ✓ getSetting (2)
       ✓ should return general settings
       ✓ should return error
     ✓ updateSetting (2)
       ✓ should return settings
       ✓ should return error
     ✓ getContacts (2)
       ✓ should return contacts
       ✓ should return error
     ✓ getRegistryAddresses (4)
       ✓ should return registry addresses
       ✓ should return registry error
       ✓ should return network error
       ✓ should return network error
     ✓ save contact (1)
       ✓ should save contact
     ✓ removeContact
     ✓ getActivity
     ✓ getAllChains (2)
       ✓ should return all chains
       ✓ should return error
     ✓ saveCustomChain
     ✓ removeCustomChain
     ✓ getXCMChains (3)
       ✓ should return xcm chains
       ✓ should return chain error
       ✓ should return chains error
     ✓ addActivity
     ✓ updateActivity
     ✓ addAsset
     ✓ getAssetsByChain
     ✓ getTrustedSites
     ✓ addTrustedSite
     ✓ removeTrustedSite
 ✓ src/hooks/common/useToast.test.tsx (2)
   ✓ useToast (2)
     ✓ showErrorToast
     ✓ showSuccessToast
 ✓ src/storage/entities/settings/CurrencySetting.test.ts (2)
   ✓ CurrencySettings (2)
     ✓ should get default currency
     ✓ should get all languages
 ✓ src/accounts/AccountManager.test.ts (20)
   ✓ AccountManager (20)
     ✓ formatAddress (2)
       ✓ should format evm account
       ✓ should return the same address
     ✓ should get valid name
     ✓ should create account
     ✓ addAccount (1)
       ✓ should return created account
     ✓ importAccount (1)
       ✓ should add imported evm account
     ✓ derive (2)
       ✓ should return derived account
       ✓ should throw error
     ✓ getAccount (2)
       ✓ should return account by key
       ✓ should show error
     ✓ changeName (2)
       ✓ should change name
       ✓ should return error
     ✓ getAll (2)
       ✓ shoudl return all wasm accounts
       ✓ shoudl return undefined
     ✓ areAccountsInitialized (1)
       ✓ should return true
     ✓ saveBackup (3)
       ✓ should save backup
       ✓ should throw recovery_phrase_required error
       ✓ should throw invalid_recovery_phrase error
     ✓ restorePassword (2)
       ✓ should restore password
       ✓ should throw backup_not_found error
 ✓ src/storage/entities/Network.test.ts (5)
   ✓ Network (5)
     ✓ should instance
     ✓ should init
     ✓ should return default value
     ✓ should set new chain
     ✓ should set new chain without static methods
 ✓ src/storage/entities/TrustedSites.test.ts (13)
   ✓ Trusted Sites (13)
     ✓ should instance
     ✓ should get default value
     ✓ should init
     ✓ get all (2)
       ✓ should get all
       ✓ should throw error
     ✓ add site (2)
       ✓ should add site
       ✓ should throw error
     ✓ remove site (2)
       ✓ should remove site
       ✓ should throw error
     ✓ add site (2)
       ✓ should add site
       ✓ should throw error
     ✓ remove site (2)
       ✓ should remove site
       ✓ should throw error
 ✓ src/storage/entities/Accounts.test.ts (18)
   ✓ Account (18)
     ✓ should instance
     ✓ should init
     ✓ should update
     ✓ removeAccout (2)
       ✓ should remove account
       ✓ should return error
     ✓ add (3)
       ✓ should add account
       ✓ should return  failed_to_add_account error
       ✓ should return  failed_to_add_account error
     ✓ should return isEmpty as true
     ✓ should add account
     ✓ should remove account
     ✓ get (2)
       ✓ should return account value by key
       ✓ should return undefined
     ✓ should getAll
     ✓ should update
     ✓ should return false alreadyExists
     ✓ first (2)
       ✓ should return first account
       ✓ should return undefined
 ✓ src/tests/utils/assets.test.ts (15)
   ✓ assets (15)
     ✓ getNatitveAssetBalance (5)
       ✓ should use polkadot api
       ✓ should use ethereum api
       ✓ should return same amount
       ✓ should return same amount
       ✓ should throw error
     ✓ should format amount with decimals
     ✓ should return 0
     ✓ should format bn
     ✓ should format bn, returning 0
     ✓ should format usd amount
     ✓ get asset USD price (3)
       ✓ should return eth price
       ✓ should return 0
       ✓ should throw error
     ✓ getWasmAssets (2)
       ✓ get assets
       ✓ get assets Astar case
 ✓ src/storage/entities/registry/Registry.test.ts (21)
   ✓ Registry (21)
     ✓ should instance
     ✓ shoud get default value
     ✓ should init
     ✓ add contact (2)
       ✓ should add contact
       ✓ should throw error
     ✓ get contact (2)
       ✓ should get contact
       ✓ should throw error
     ✓ change contact name (3)
       ✓ should change contact name
       ✓ should throw registry error
       ✓ should throw contract error
     ✓ remove contact (2)
       ✓ should remove contact
       ✓ should throw registry error
     ✓ add recent (2)
       ✓ should add recent
       ✓ should throw registry error
     ✓ get recent (2)
       ✓ should get recent
       ✓ should throw registry error
     ✓ should add contact
     ✓ get contact
     ✓ add recent
     ✓ get recent
     ✓ get all contacts
 ✓ src/storage/Auth.test.ts (19)
   ✓ Auth (19)
     ✓ should instance
     ✓ should return isUnlocked
     ✓ should return password
     ✓ should return isSessionActive
     ✓ should return isSessionActive
     ✓ should return false if there is no password
     ✓ should return true if there is a password
     ✓ loadAuthFromCache (2)
       ✓ should set isUnlocked from cache
       ✓ should signOut
     ✓ decryptVault
     ✓ encryptVault
     ✓ signIn (2)
       ✓ should signIn
       ✓ should throw decrypt error
     ✓ encryptBackup (2)
       ✓ should return encrypted backup
       ✓ should return error
     ✓ decryptBackup (2)
       ✓ should return encrypted backup
       ✓ should return error
     ✓ restorePassword (2)
       ✓ should return password
       ✓ should throw error
 ✓ src/storage/entities/activity/Activity.test.ts (14)
   ✓ Activity (14)
     ✓ shoud instance
     ✓ should init
     ✓ addRecord (3)
       ✓ should add record
       ✓ should throw Activity.get error
       ✓ should throw SelectedAccount.get error
     ✓ getRecords (3)
       ✓ should throw SelectedAccount.get error
       ✓ should throw Activity.get error
       ✓ should throw Activity.get error
     ✓ update record status (4)
       ✓ should update record status
       ✓ should throw SelectedAccount.get error
       ✓ should throw Activity.get error
       ✓ should throw activity.data error
     ✓ add record
     ✓ get records
 ✓ src/storage/entities/Assets.test.ts (8)
   ✓ Assets (8)
     ✓ should instance
     ✓ should return default value
     ✓ should init
     ✓ getByChain (2)
       ✓ should get by chain
       ✓ should show error
     ✓ addAsset (3)
       ✓ should add asset
       ✓ should add new asset in existing chain
       ✓ should throw error when asset already added
 ✓ src/tests/utils/accounts-utils.test.ts (9)
   ✓ account-utils (9)
     ✓ cropAccount (2)
       ✓ should return cropAccount
       ✓ should return empty
     ✓ formatAccount (2)
       ✓ should format EVM account
       ✓ should format WASM account
     ✓ formatAddress (3)
       ✓ format ROCOCO format to x format
       ✓ should return the same EVM Account
       ✓ should return empty
     ✓ getAccountType (2)
       ✓ should format imported account type
       ✓ should return the same account type
 ✓ src/storage/Storage.test.ts (4)
   ✓ Storage (4)
     ✓ should instance
     ✓ init (2)
       ✓ should init
       ✓ should throw already_signed_up error
     ✓ reset wallet
 ✓ src/storage/entities/Vault.test.ts (15)
   ✓ Vault (15)
     ✓ init (3)
       ✓ should init keyrings
       ✓ should throw vault_not_found error by Storage error
       ✓ should throw vault_not_found error by Auth error
     ✓ alreadySignedUp (2)
       ✓ should return true
       ✓ should return undefined
     ✓ getEncryptedVault (2)
       ✓ should return stored
       ✓ should return undefined
     ✓ set
     ✓ should save keyring
     ✓ getKeyring (3)
       ✓ should return keyring
       ✓ should call addHDKeyring
       ✓ should throw error
     ✓ addHDKeyring (2)
       ✓ should add WASM hd keyring
       ✓ should add EVM hd keyring
     ✓ is invalid
 ✓ src/storage/entities/Chains.test.ts (19)
   ✓ Chains (19)
     ✓ should instance
     ✓ get instance (2)
       ✓ should return instance
       ✓ should return same instance
     ✓ shoud init
     ✓ should return default value
     ✓ load chains (2)
       ✓ should load chains
       ✓ should throw error
     ✓ save custom chain (3)
       ✓ should chain_already_added throw error
       ✓ should throw failed_to_save_custom_chain error
       ✓ should chain_already_added throw error
     ✓ remove custom chain (2)
       ✓ remove custom chain
       ✓ should throw error
     ✓ get by chain (5)
       ✓ should return in mainnets
       ✓ should return in testnets
       ✓ should return in custom
       ✓ should return undefined
       ✓ should throw failed_to_get_chain_by_name
     ✓ should get all
     ✓ should already addes
 ✓ src/tests/utils/utils.test.ts (3)
   ✓ utils (3)
     ✓ should return formatted date
     ✓ should parse query
     ✓ should make querys
 ✓ src/storage/entities/Backup.test.ts (2)
   ✓ Backup (2)
     ✓ should instance
     ✓ should init
 ✓ src/storage/entities/settings/Settings.test.ts (13)
   ✓ Settings (13)
     ✓ should instance
     ✓ should init
     ✓ should be empty
     ✓ should add to general
     ✓ should add to advanced
     ✓ should add to security
     ✓ should get from general
     ✓ should get from advanced
     ✓ should get from security
     ✓ get
     ✓ get all
     ✓ update
     ✓ allready exists
 ✓ src/storage/entities/SelectedAccount.test.ts (2)
   ✓ SelectedAccount (2)
     ✓ fromAccount
     ✓ getDefaultValue
 ✓ src/storage/entities/registry/Register.test.ts (1)
   ✓ Register (1)
     ✓ should create register
 ✓ src/storage/entities/BaseEntity.test.ts (7)
   ✓ BaseEntity (7)
     ✓ should init
     ✓ getDefaultValue
     ✓ fromData
     ✓ get (2)
       ✓ should return stored data
       ✓ should return undefined
     ✓ set
     ✓ remove
 ✓ src/storage/entities/settings/LangaugeSetting.test.ts (2)
   ✓ LanguageSettings (2)
     ✓ should get default language
     ✓ should get all languages
 ✓ src/storage/entities/registry/Contact.test.ts (1)
   ✓ Contact (1)
     ✓ should create contact
 ✓ src/storage/entities/settings/Setting.test.ts (7)
   ✓ Setting (7)
     ✓ should instance
     ✓ should format name
     ✓ should return string true
     ✓ should return number
     ✓ should return boolean
     ✓ should return object
     ✓ should return language array
 ✓ src/storage/entities/keyrings/imported/ImportedWASMKeyring.test.ts (2)
   ✓ ImportedWASMKeyring (2)
     ✓ getImportedData
     ✓ fromJSON
 ✓ src/storage/entities/CacheAuth.test.ts (5)
   ✓ CacheAuth (5)
     ✓ should instance
     ✓ shoud filled entity
     ✓ hasExpired (2)
       ✓ should return hasExpired as false
       ✓ should return hasExpired as true
     ✓ unlock (1)
       ✓ should unlock
 ✓ src/storage/entities/Account.test.ts (1)
   ✓ Account (1)
     ✓ sholuld instance

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 FAIL  src/pages/settings/General.test.tsx > General > should render
Error: Test timed out in 10000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/7]⎯

 FAIL  src/pages/settings/General.test.tsx > General > should call showTestnets
TestingLibraryElementError: Unable to find an element by: [data-testid="language-select"]

Ignored nodes: comments, script, style
<body>
  <div>
    <div
      class="flex py-6 px-4 "
    >
      <div
        class="max-w-3xl w-full mx-auto md:px-10 h-full"
      >
        <div
          class="flex items-center gap-3 mb-10"
        >
          <svg
            class="cursor-pointer"
            fill="none"
            height="26"
            stroke="currentColor"
            stroke-linecap="round"
            stroke-linejoin="round"
            stroke-width="2"
            viewBox="0 0 24 24"
            width="26"
            xmlns="http://www.w3.org/2000/svg"
          >
            <polyline
              points="15 18 9 12 15 6"
            />
          </svg>
          <p
            class="font-medium text-2xl"
          >
            General
          </p>
        </div>
        <div
          class="flex flex-col gap-5"
        />
      </div>
    </div>
  </div>
</body>

Ignored nodes: comments, script, style
<html>
  <head />
  <body>
    <div>
      <div
        class="flex py-6 px-4 "
      >
        <div
          class="max-w-3xl w-full mx-auto md:px-10 h-full"
        >
          <div
            class="flex items-center gap-3 mb-10"
          >
            <svg
              class="cursor-pointer"
              fill="none"
              height="26"
              stroke="currentColor"
              stroke-linecap="round"
              stroke-linejoin="round"
              stroke-width="2"
              viewBox="0 0 24 24"
              width="26"
              xmlns="http://www.w3.org/2000/svg"
            >
              <polyline
                points="15 18 9 12 15 6"
              />
            </svg>
            <p
              class="font-medium text-2xl"
            >
              General
            </p>
          </div>
          <div
            class="flex flex-col gap-5"
          />
        </div>
      </div>
    </div>
  </body>
</html>
 ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:160:27
 ❯ src/pages/settings/General.test.tsx:66:11
     64|     const { getByTestId } = renderComponent();
     65|
     66|     await waitFor(() => {
       |           ^
     67|       expect(getByTestId("language-select")).toBeDefined();
     68|     }, {

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/7]⎯

 FAIL  src/pages/settings/General.test.tsx > General > should call "manage networks"
TestingLibraryElementError: Unable to find an element by: [data-testid="manage-networks-button"]

Ignored nodes: comments, script, style
<body>
  <div>
    <div
      class="flex py-6 px-4 "
    >
      <div
        class="max-w-3xl w-full mx-auto md:px-10 h-full"
      >
        <div
          class="flex items-center gap-3 mb-10"
        >
          <svg
            class="cursor-pointer"
            fill="none"
            height="26"
            stroke="currentColor"
            stroke-linecap="round"
            stroke-linejoin="round"
            stroke-width="2"
            viewBox="0 0 24 24"
            width="26"
            xmlns="http://www.w3.org/2000/svg"
          >
            <polyline
              points="15 18 9 12 15 6"
            />
          </svg>
          <p
            class="font-medium text-2xl"
          >
            General
          </p>
        </div>
        <div
          class="flex flex-col gap-5"
        />
      </div>
    </div>
  </div>
</body>

Ignored nodes: comments, script, style
<html>
  <head />
  <body>
    <div>
      <div
        class="flex py-6 px-4 "
      >
        <div
          class="max-w-3xl w-full mx-auto md:px-10 h-full"
        >
          <div
            class="flex items-center gap-3 mb-10"
          >
            <svg
              class="cursor-pointer"
              fill="none"
              height="26"
              stroke="currentColor"
              stroke-linecap="round"
              stroke-linejoin="round"
              stroke-width="2"
              viewBox="0 0 24 24"
              width="26"
              xmlns="http://www.w3.org/2000/svg"
            >
              <polyline
                points="15 18 9 12 15 6"
              />
            </svg>
            <p
              class="font-medium text-2xl"
            >
              General
            </p>
          </div>
          <div
            class="flex flex-col gap-5"
          />
        </div>
      </div>
    </div>
  </body>
</html>
 ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:160:27
 ❯ src/pages/settings/General.test.tsx:90:11
     88|     const { getByTestId } = renderComponent();
     89|
     90|     await waitFor(() => {
       |           ^
     91|       expect(getByTestId("manage-networks-button")).toBeDefined();
     92|     });

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/7]⎯

 FAIL  src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should render
 FAIL  src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should render total balance
 FAIL  src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should hide balance
 FAIL  src/pages/balance/components/TotalBalance.test.tsx > TotalBalance > should update account name
Error: [vitest] No "useNetworkContext" export is defined on the "@src/providers" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "vi.importActual" inside:

vi.mock("@src/providers", async () => {
  const actual = await vi.importActual("@src/providers")
  return {
    ...actual,
    // your mocked methods
  },
})

 ❯ TotalBalance src/pages/balance/components/TotalBalance.tsx:40:7
     38|   const {
     39|     state: { api, selectedChain },
     40|   } = useNetworkContext();
       |       ^
     41|
     42|   const updateAllAssets = async () => {
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/7]⎯

 Test Files  2 failed | 60 passed (62)
      Tests  7 failed | 413 passed (420)
   Start at  14:31:20
   Duration  39.29s (transform 4.35s, setup 22.54s, collect 49.06s, tests 40.92s, environment 33.83s, prepare 13.91s)

 FAIL  Tests failed. Watching for file changes...
       press h to show help, press q to quit

Can you check now please? I solved it and test it

Can you check now please? I solved it and test it

Thank you for that. I synced with main and updated the package.json version.