Open ascartabelli opened 2 months ago
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).
walletStore
The transactions page test also contains commented code.
On hold until wallet is released for mainnet.
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.