polkadot-js/apps

View on GitHub
packages/test-support/src/pages/Page.tsx

Summary

Maintainability
B
4 hrs
Test Coverage

Function render has 104 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render (accounts: [string, AccountOverrides][]): void {
    mockAccountHooks.setAccounts(accounts);

    accounts.forEach(([address, { meta }]) => {
      keyring.addExternal(address, meta);
Severity: Major
Found in packages/test-support/src/pages/Page.tsx - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status