rusk
rusk copied to clipboard
Fix staking and transactions page tests
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.