rusk icon indicating copy to clipboard operation
rusk copied to clipboard

Fix staking and transactions page tests

Open ascartabelli opened this issue 5 months ago • 0 comments

Summary

The tests:

  • src/routes/(app)/dashboard/staking/__tests__/page.spec.js
  • src/routes/(app)/dashboard/transactions/__tests__/page.spec.js

are made only with a snapshot, without mocking what's returned by the walletStore method calls, so they are just rendering an error page (as the wallet isn't initialized).

The transactions page test also contains commented code.

ascartabelli avatar Sep 20 '24 12:09 ascartabelli